# C1.Web.Mvc.Code39

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Code39" data-uid="C1.Web.Mvc.Code39" class="text-break">Code39 Class
</h1>
  <div class="markdown level0 summary"><p>Represents a control for drawing Code39 barcode type.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.BarcodeBase.html">BarcodeBase</a></div>
    <div class="level4"><span class="xref">Code39</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Code39_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Code39 : BarcodeBase, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Code39
    Inherits BarcodeBase
    Implements IHtmlContent, ITemplate</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Code39__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.Code39.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.Code39.-ctor.html#C1_Web_Mvc_Code39__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">Code39(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Code39.html">Code39</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Code39_AutoWidth" data-uid="C1.Web.Mvc.Code39.AutoWidth">
          <a class="xref" href="C1.Web.Mvc.Code39.AutoWidth.html#C1_Web_Mvc_Code39_AutoWidth">AutoWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the control width should automatically change along with the Value length.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Code39_AutoWidthZoom" data-uid="C1.Web.Mvc.Code39.AutoWidthZoom">
          <a class="xref" href="C1.Web.Mvc.Code39.AutoWidthZoom.html#C1_Web_Mvc_Code39_AutoWidthZoom">AutoWidthZoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a zoom factor applied to the automatically calculated control width.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Code39_CheckDigit" data-uid="C1.Web.Mvc.Code39.CheckDigit">
          <a class="xref" href="C1.Web.Mvc.Code39.CheckDigit.html#C1_Web_Mvc_Code39_CheckDigit">CheckDigit</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the symbol needs a check digit with the Luhn algorithm.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Code39_FullAscii" data-uid="C1.Web.Mvc.Code39.FullAscii">
          <a class="xref" href="C1.Web.Mvc.Code39.FullAscii.html#C1_Web_Mvc_Code39_FullAscii">FullAscii</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the symbol enables encoding of all 128 ASCII characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Code39_LabelPosition" data-uid="C1.Web.Mvc.Code39.LabelPosition">
          <a class="xref" href="C1.Web.Mvc.Code39.LabelPosition.html#C1_Web_Mvc_Code39_LabelPosition">LabelPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets where to render the value of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Code39_LabelWithStartAndStopCharacter" data-uid="C1.Web.Mvc.Code39.LabelWithStartAndStopCharacter">
          <a class="xref" href="C1.Web.Mvc.Code39.LabelWithStartAndStopCharacter.html#C1_Web_Mvc_Code39_LabelWithStartAndStopCharacter">LabelWithStartAndStopCharacter</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to show the start and stop character in the label.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Code39_NwRatio" data-uid="C1.Web.Mvc.Code39.NwRatio">
          <a class="xref" href="C1.Web.Mvc.Code39.NwRatio.html#C1_Web_Mvc_Code39_NwRatio">NwRatio</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the narrow and wide bar ratio of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Code39_ShowLabel" data-uid="C1.Web.Mvc.Code39.ShowLabel">
          <a class="xref" href="C1.Web.Mvc.Code39.ShowLabel.html#C1_Web_Mvc_Code39_ShowLabel">ShowLabel</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the value is rendered under the symbol.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
