# C1.C1Preview.C1PrintDocument.RenderBlockVertLine

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintDocument_RenderBlockVertLine_" data-uid="C1.C1Preview.C1PrintDocument.RenderBlockVertLine*">RenderBlockVertLine Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintDocument_RenderBlockVertLine_" data-uid="C1.C1Preview.C1PrintDocument.RenderBlockVertLine*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderBlockVertLine_C1_C1Preview_Unit_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.C1PrintDocument.RenderBlockVertLine(C1.C1Preview.Unit,C1.C1Preview.LineDef)">RenderBlockVertLine(Unit, LineDef)</h4>
<div class="markdown level1 summary"><p>Renders a vertical line with the specified height, starting at the current position,
into the block flow of the current document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderBlockVertLine(Unit height, LineDef line)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderBlockVertLine(height As Unit, line As LineDef) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a></td>
      <td><span class="parametername">line</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the line.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if no warnings were generated by this call, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintDocument_RenderBlockVertLine_C1_C1Preview_Unit_C1_C1Preview_LineDef__remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;
</code></pre>
<p>This method can only be used between calls to <a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc()</a> and <a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc()</a>
methods on the current document.
For details, see <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock(RenderObject)</a>.</p>

</div>
<h5 id="C1_C1Preview_C1PrintDocument_RenderBlockVertLine_C1_C1Preview_Unit_C1_C1Preview_LineDef__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.RenderLine.html">RenderLine</a></div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock</a>(<a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>)</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Generate.html#C1_C1Preview_C1PrintDocument_Generate">Generate</a>()</div>
</div>
</div>
