# C1.Web.Mvc.BarcodeBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_BarcodeBase" data-uid="C1.Web.Mvc.BarcodeBase" class="text-break">BarcodeBase Class
</h1>
  <div class="markdown level0 summary"><p>Base (abstract) class for all barcode control classes.</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"><span class="xref">BarcodeBase</span></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Codabar.html">Codabar</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Code128.html">Code128</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Code39.html">Code39</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Code49.html">Code49</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Code93.html">Code93</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.DataMatrixBase.html">DataMatrixBase</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.EanBase.html">EanBase</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Gs1DataBarBase.html">Gs1DataBarBase</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Gs1_128.html">Gs1_128</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Interleaved2of5.html">Interleaved2of5</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Itf14.html">Itf14</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.JapanesePostal.html">JapanesePostal</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.MicroPdf417.html">MicroPdf417</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.Pdf417.html">Pdf417</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.QrCode.html">QrCode</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.UpcBase.html">UpcBase</a></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_BarcodeBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BarcodeBase : Control, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BarcodeBase
    Inherits Control
    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_BarcodeBase__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.BarcodeBase.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.-ctor.html#C1_Web_Mvc_BarcodeBase__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">BarcodeBase(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.BarcodeBase.html">BarcodeBase</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_BarcodeBase_BackgroundColor" data-uid="C1.Web.Mvc.BarcodeBase.BackgroundColor">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.BackgroundColor.html#C1_Web_Mvc_BarcodeBase_BackgroundColor">BackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color to render the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_BarcodeBase_Color" data-uid="C1.Web.Mvc.BarcodeBase.Color">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.Color.html#C1_Web_Mvc_BarcodeBase_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the forecolor to render the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_BarcodeBase_Font" data-uid="C1.Web.Mvc.BarcodeBase.Font">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.Font.html#C1_Web_Mvc_BarcodeBase_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets font info for the label text of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_BarcodeBase_HideExtraChecksum" data-uid="C1.Web.Mvc.BarcodeBase.HideExtraChecksum">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.HideExtraChecksum.html#C1_Web_Mvc_BarcodeBase_HideExtraChecksum">HideExtraChecksum</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to show the check digit in the label text of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_BarcodeBase_OnClientIsValidChanged" data-uid="C1.Web.Mvc.BarcodeBase.OnClientIsValidChanged">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.OnClientIsValidChanged.html#C1_Web_Mvc_BarcodeBase_OnClientIsValidChanged">OnClientIsValidChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the IsValid property value changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_BarcodeBase_QuietZone" data-uid="C1.Web.Mvc.BarcodeBase.QuietZone">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.QuietZone.html#C1_Web_Mvc_BarcodeBase_QuietZone">QuietZone</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of quiet zone (the blank margin) around the barcode symbol.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_BarcodeBase_RenderType" data-uid="C1.Web.Mvc.BarcodeBase.RenderType">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.RenderType.html#C1_Web_Mvc_BarcodeBase_RenderType">RenderType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rendering type of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_BarcodeBase_Value" data-uid="C1.Web.Mvc.BarcodeBase.Value">
          <a class="xref" href="C1.Web.Mvc.BarcodeBase.Value.html#C1_Web_Mvc_BarcodeBase_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current code value rendered by the control.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
