# C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextOut

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextOut_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextOut*">TextOut Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextOut_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextOut*"></a>
<h4 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextOut_System_String_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextOut(System.String,System.Drawing.Point)">TextOut(string, Point)</h4>
<div class="markdown level1 summary"><p>Writes a character string at the specified location, using the currently selected
font, background color, and text color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void TextOut(string text, Point position)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub TextOut(text As String, position As Point)</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.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>A <b>string</b> that saves the characters to be written.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> that indicates the reference point that the system uses to align the string.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
