# C1.C1Preview.BarcodeSizeOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_BarcodeSizeOptions" data-uid="C1.C1Preview.BarcodeSizeOptions" class="text-break">BarcodeSizeOptions Class
</h1>
  <div class="markdown level0 summary"><p>Specifies the options affecting the size of a barcode, such as the width of narrow bars,
narrow to wide bars' ratio etc.</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"><span class="xref">BarcodeSizeOptions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_BarcodeSizeOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class BarcodeSizeOptions : BarCodeOptionsBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class BarcodeSizeOptions
    Inherits BarCodeOptionsBase</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_C1Preview_BarcodeSizeOptions__ctor" data-uid="C1.C1Preview.BarcodeSizeOptions.#ctor">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.-ctor.html#C1_C1Preview_BarcodeSizeOptions__ctor">BarcodeSizeOptions()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.html">BarcodeSizeOptions</a> class.</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_C1Preview_BarcodeSizeOptions_BarHeight" data-uid="C1.C1Preview.BarcodeSizeOptions.BarHeight">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.BarHeight.html#C1_C1Preview_BarcodeSizeOptions_BarHeight">BarHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bar height in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_ModuleSize" data-uid="C1.C1Preview.BarcodeSizeOptions.ModuleSize">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.ModuleSize.html#C1_C1Preview_BarcodeSizeOptions_ModuleSize">ModuleSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the barcode module size in twips.</p>
<p>Zero means the default value which is different for different barcode types:</p>
<ul><li>15 twips for simple "bar" barcodes.</li><li>75 twips for matrix barcodes (QRCode, DataMatrix).</li><li>45 twips for RSS stacked barcodes (RSSStacked, RSSExpandedStacked).</li><li>45 twips for composite barcodes.</li></ul>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_NarrowWideRatio" data-uid="C1.C1Preview.BarcodeSizeOptions.NarrowWideRatio">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.NarrowWideRatio.html#C1_C1Preview_BarcodeSizeOptions_NarrowWideRatio">NarrowWideRatio</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ratio between narrow and wide bars.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_SizeMode" data-uid="C1.C1Preview.BarcodeSizeOptions.SizeMode">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.SizeMode.html#C1_C1Preview_BarcodeSizeOptions_SizeMode">SizeMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the barcode sizing mode.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_SupplementSpacing" data-uid="C1.C1Preview.BarcodeSizeOptions.SupplementSpacing">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.SupplementSpacing.html#C1_C1Preview_BarcodeSizeOptions_SupplementSpacing">SupplementSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the spacing between the main and the supplement bacodes in twips.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_AssignFrom_C1_BarCode_BarCodeOptionsBase_" data-uid="C1.C1Preview.BarcodeSizeOptions.AssignFrom(C1.BarCode.BarCodeOptionsBase)">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.AssignFrom.html#C1_C1Preview_BarcodeSizeOptions_AssignFrom_C1_BarCode_BarCodeOptionsBase_">AssignFrom(BarCodeOptionsBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <span class="xref">C1.BarCode.BarCodeOptionsBase</span> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_Clone" data-uid="C1.C1Preview.BarcodeSizeOptions.Clone">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.Clone.html#C1_C1Preview_BarcodeSizeOptions_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Makes a copy of the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_Equals_System_Object_" data-uid="C1.C1Preview.BarcodeSizeOptions.Equals(System.Object)">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.Equals.html#C1_C1Preview_BarcodeSizeOptions_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares this <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.html">BarcodeSizeOptions</a> to the specified object to determine whether the two are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_GetHashCode" data-uid="C1.C1Preview.BarcodeSizeOptions.GetHashCode">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.GetHashCode.html#C1_C1Preview_BarcodeSizeOptions_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates and retrieves a hash code based on the current values of specified options.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_BarcodeSizeOptions_ToString" data-uid="C1.C1Preview.BarcodeSizeOptions.ToString">
          <a class="xref" href="C1.C1Preview.BarcodeSizeOptions.ToString.html#C1_C1Preview_BarcodeSizeOptions_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
