# C1.C1Preview.RenderBarCode

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderBarCode" data-uid="C1.C1Preview.RenderBarCode" class="text-break">RenderBarCode Class
</h1>
  <div class="markdown level0 summary"><p>Represents a barcode in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>.</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.C1Preview.RenderObject.html">RenderObject</a></div>
    <div class="level2"><span class="xref">RenderBarCode</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_RenderBarCode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderBarCode : RenderObject, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderBarCode
    Inherits RenderObject
    Implements IStyleOwner, IDocumentLocation</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_RenderBarCode__ctor" data-uid="C1.C1Preview.RenderBarCode.#ctor">
          <a class="xref" href="C1.C1Preview.RenderBarCode.-ctor.html#C1_C1Preview_RenderBarCode__ctor">RenderBarCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderBarCode.html">RenderBarCode</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderBarCode__ctor_C1_C1Preview_BarCode_BarCodeEnum_" data-uid="C1.C1Preview.RenderBarCode.#ctor(C1.C1Preview.BarCode.BarCodeEnum)">
          <a class="xref" href="C1.C1Preview.RenderBarCode.-ctor.html#C1_C1Preview_RenderBarCode__ctor_C1_C1Preview_BarCode_BarCodeEnum_">RenderBarCode(BarCodeEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderBarCode.html">RenderBarCode</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_RenderBarCode_BarCodeType" data-uid="C1.C1Preview.RenderBarCode.BarCodeType">
          <a class="xref" href="C1.C1Preview.RenderBarCode.BarCodeType.html#C1_C1Preview_RenderBarCode_BarCodeType">BarCodeType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of encoding to use when generating the barcode.</p>
<p>Note that BarCodeType.None is not a valid value for this property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderBarCode_BarDirection" data-uid="C1.C1Preview.RenderBarCode.BarDirection">
          <a class="xref" href="C1.C1Preview.RenderBarCode.BarDirection.html#C1_C1Preview_RenderBarCode_BarDirection">BarDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction of the barcode. Obsolete, use Style.TextAngle instead.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderBarCode_ShowText" data-uid="C1.C1Preview.RenderBarCode.ShowText">
          <a class="xref" href="C1.C1Preview.RenderBarCode.ShowText.html#C1_C1Preview_RenderBarCode_ShowText">ShowText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the string represending the <a class="xref" href="C1.C1Preview.RenderBarCode.Text.html#C1_C1Preview_RenderBarCode_Text">Text</a> property
should be displayed along with the barcode image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderBarCode_Text" data-uid="C1.C1Preview.RenderBarCode.Text">
          <a class="xref" href="C1.C1Preview.RenderBarCode.Text.html#C1_C1Preview_RenderBarCode_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value that is encoded as the barcode image.</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_RenderBarCode_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderBarCode.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderBarCode.AssignFrom.html#C1_C1Preview_RenderBarCode_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to the current object.
Calls the base <a class="xref" href="C1.C1Preview.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a> method.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderBarCode.html">RenderBarCode</a>, also copies <a class="xref" href="C1.C1Preview.RenderBarCode.html">RenderBarCode</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderBarCode_CreateSame" data-uid="C1.C1Preview.RenderBarCode.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderBarCode.CreateSame.html#C1_C1Preview_RenderBarCode_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderBarCode.html">RenderBarCode</a> object
linked with same <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> as current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderBarCode_InternalResolveCalculatedValues" data-uid="C1.C1Preview.RenderBarCode.InternalResolveCalculatedValues">
          <a class="xref" href="C1.C1Preview.RenderBarCode.InternalResolveCalculatedValues.html#C1_C1Preview_RenderBarCode_InternalResolveCalculatedValues">InternalResolveCalculatedValues()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
