# C1.C1Preview.RenderTextFragmentBase.GetCharPoints

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderTextFragmentBase_GetCharPoints_" data-uid="C1.C1Preview.RenderTextFragmentBase.GetCharPoints*">GetCharPoints Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderTextFragmentBase_GetCharPoints_" data-uid="C1.C1Preview.RenderTextFragmentBase.GetCharPoints*"></a>
<h4 id="C1_C1Preview_RenderTextFragmentBase_GetCharPoints_System_Int32_" data-uid="C1.C1Preview.RenderTextFragmentBase.GetCharPoints(System.Int32)">GetCharPoints(int)</h4>
<div class="markdown level1 summary"><p>Gets an array of four points defining the (possibly rotated)
geometric area of the character with the specified index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PointD[] GetCharPoints(int charIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetCharPoints(charIndex As Integer) As PointD()</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.int32">int</a></td>
      <td><span class="parametername">charIndex</span></td>
      <td><p>The index of the character in the current fragment.</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="C1.C1Preview.PointD.html">PointD</a>[]</td>
      <td><p>An array of four <a class="xref" href="C1.C1Preview.RectangleD.html">RectangleD</a> structures representing the
corners of the specified character's area,
relative to the content area of the object (without spacing, borders, padding).</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_RenderTextFragmentBase_GetCharPoints_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Unlike the <a class="xref" href="C1.C1Preview.RenderTextFragmentBase.GetCharRect.html#C1_C1Preview_RenderTextFragmentBase_GetCharRect_System_Int32_">GetCharRect(int)</a> method, this method works for rotated text as well.</p>
</div>
<h5 id="C1_C1Preview_RenderTextFragmentBase_GetCharPoints_System_Int32__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.RenderTextFragmentBase.GetCharRect.html#C1_C1Preview_RenderTextFragmentBase_GetCharRect_System_Int32_">GetCharRect</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>)</div>
</div>
</div>
