# C1.Excel.FontExtensions.GetTextForGlyphs

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Excel_FontExtensions_GetTextForGlyphs_" data-uid="C1.Excel.FontExtensions.GetTextForGlyphs*">GetTextForGlyphs Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Excel_FontExtensions_GetTextForGlyphs_" data-uid="C1.Excel.FontExtensions.GetTextForGlyphs*"></a>
<h4 id="C1_Excel_FontExtensions_GetTextForGlyphs_GrapeCity_Documents_Text_Font_System_Char___System_Int32___" data-uid="C1.Excel.FontExtensions.GetTextForGlyphs(GrapeCity.Documents.Text.Font,System.Char[],System.Int32[])">GetTextForGlyphs(Font, char[], int[])</h4>
<div class="markdown level1 summary"><p>Convert glyphs indexes array into text is it need.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[CLSCompliant(false)]
public static string GetTextForGlyphs(this Font font, char[] glyphs, int[] lpdx = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;CLSCompliant(False)&gt;
Public Shared Function GetTextForGlyphs(font As Font, glyphs As Char(), Optional lpdx As Integer() = Nothing) As String</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><span class="xref">Font</span></td>
      <td><span class="parametername">font</span></td>
      <td><p>The <span class="xref">GrapeCity.Documents.Text.Font</span> object for the extension.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a>[]</td>
      <td><span class="parametername">glyphs</span></td>
      <td><p>The glyphs indexes array.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td><span class="parametername">lpdx</span></td>
      <td><p>The glyphs widths array.</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.string">string</a></td>
      <td><p>The result text string.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
