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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TabbedTextOut_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextOut*">TabbedTextOut Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TabbedTextOut_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextOut*"></a>
<h4 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TabbedTextOut_System_String_System_Drawing_Point_System_Int32___System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextOut(System.String,System.Drawing.Point,System.Int32[],System.Int32)">TabbedTextOut(string, Point, int[], int)</h4>
<div class="markdown level1 summary"><p>Writes a character string at a specified location, expanding tabs to the values specified in an array of
tab-stop positions. Text is written in 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 Size TabbedTextOut(string text, Point position, int[] tabStopPositions, int tabOrigin)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function TabbedTextOut(text As String, position As Point, tabStopPositions As Integer(), tabOrigin As Integer) As Size</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>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td><span class="parametername">tabStopPositions</span></td>
      <td><p>Pointer to an array containing the tab-stop positions. The tab stops must be sorted in increasing order;
the smallest x-value should be the first item in the array. If this parameter is null, tabs are expanded
to eight times the average character width.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">tabOrigin</span></td>
      <td><p>Specifies the x-coordinate of the starting position from which tabs are expanded.</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.drawing.size">Size</a></td>
      <td><p>Returns the dimensions, of the string.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
