# C1.C1Preview.RenderLine

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderLine" data-uid="C1.C1Preview.RenderLine" class="text-break">RenderLine Class
</h1>
  <div class="markdown level0 summary"><p>Represents a line shape 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"><a class="xref" href="C1.C1Preview.RenderShapeBase.html">RenderShapeBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.RenderLineBase.html">RenderLineBase</a></div>
    <div class="level4"><span class="xref">RenderLine</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.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_RenderLine_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderLine : RenderLineBase, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderLine
    Inherits RenderLineBase
    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_RenderLine__ctor" data-uid="C1.C1Preview.RenderLine.#ctor">
          <a class="xref" href="C1.C1Preview.RenderLine.-ctor.html#C1_C1Preview_RenderLine__ctor">RenderLine()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderLine.html">RenderLine</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderLine__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.RenderLine.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.LineDef)">
          <a class="xref" href="C1.C1Preview.RenderLine.-ctor.html#C1_C1Preview_RenderLine__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_LineDef_">RenderLine(Unit, Unit, Unit, Unit, LineDef)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderLine.html">RenderLine</a> class,
assigning the coordinates of the two points that the line connects.</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_RenderLine_Line" data-uid="C1.C1Preview.RenderLine.Line">
          <a class="xref" href="C1.C1Preview.RenderLine.Line.html#C1_C1Preview_RenderLine_Line">Line</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.LineProps.html">LineProps</a> object describing the geometric line
represented by the current <a class="xref" href="C1.C1Preview.RenderLine.html">RenderLine</a> object.
The coordinates of the line are relative to the left top corner
of the current <a class="xref" href="C1.C1Preview.RenderLine.html">RenderLine</a> object.</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_RenderLine_CreateSame" data-uid="C1.C1Preview.RenderLine.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderLine.CreateSame.html#C1_C1Preview_RenderLine_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderLine.html">RenderLine</a> object
linked with same <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> as current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
