# C1.Win.List.C1OwnerDrawPrint.RenderDirectText

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_C1OwnerDrawPrint_RenderDirectText_" data-uid="C1.Win.List.C1OwnerDrawPrint.RenderDirectText*">RenderDirectText Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_C1OwnerDrawPrint_RenderDirectText_" data-uid="C1.Win.List.C1OwnerDrawPrint.RenderDirectText*"></a>
<h4 id="C1_Win_List_C1OwnerDrawPrint_RenderDirectText_System_Object_System_Object_System_String_System_Object_System_Drawing_Font_System_Drawing_Color_C1_Win_List_AlignHorzEnum_" data-uid="C1.Win.List.C1OwnerDrawPrint.RenderDirectText(System.Object,System.Object,System.String,System.Object,System.Drawing.Font,System.Drawing.Color,C1.Win.List.AlignHorzEnum)">RenderDirectText(object, object, string, object, Font, Color, AlignHorzEnum)</h4>
<div class="markdown level1 summary"><p>Renders text for the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void RenderDirectText(object x, object y, string text, object width, Font font, Color textColor, AlignHorzEnum horzAlign)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub RenderDirectText(x As Object, y As Object, text As String, width As Object, font As Font, textColor As Color, horzAlign As AlignHorzEnum)</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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>X-coordinate to start the rendering.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>Y-coordinate to start the rendering.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The text to render.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width for the rendered text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The font to use.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">textColor</span></td>
      <td><p>The color of the text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.List.AlignHorzEnum.html">AlignHorzEnum</a></td>
      <td><span class="parametername">horzAlign</span></td>
      <td><p>The alignment to render the text.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
