# GrapeCity.Documents.Text.TextLayout.RecalculateGlyphs

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_TextLayout_RecalculateGlyphs_" data-uid="GrapeCity.Documents.Text.TextLayout.RecalculateGlyphs*">RecalculateGlyphs Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_TextLayout_RecalculateGlyphs_" data-uid="GrapeCity.Documents.Text.TextLayout.RecalculateGlyphs*"></a>
<h4 id="GrapeCity_Documents_Text_TextLayout_RecalculateGlyphs" data-uid="GrapeCity.Documents.Text.TextLayout.RecalculateGlyphs">RecalculateGlyphs()</h4>
<div class="markdown level1 summary"><p>Converts characters in the current <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a> to glyphs, and performs text shaping.</p>
<p>
In order to layout the text (e.g. when rendering it on a graphics),
a call to this method must precede the call(s) to <a class="xref" href="GrapeCity.Documents.Text.TextLayout.PerformLayout.html#GrapeCity_Documents_Text_TextLayout_PerformLayout_System_Boolean_">PerformLayout(bool)</a>,
or alternatively the PerformLayout method should be called with true as the parameter.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void RecalculateGlyphs()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub RecalculateGlyphs()</code></pre>
</div>
<h5 id="GrapeCity_Documents_Text_TextLayout_RecalculateGlyphs_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="GrapeCity.Documents.Text.TextLayout.PerformLayout.html#GrapeCity_Documents_Text_TextLayout_PerformLayout_System_Boolean_">PerformLayout</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>)</div>
</div>
</div>
