# GrapeCity.Documents.Drawing.GcGraphics.CreateTextLayout

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Drawing_GcGraphics_CreateTextLayout_" data-uid="GrapeCity.Documents.Drawing.GcGraphics.CreateTextLayout*">CreateTextLayout Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Drawing_GcGraphics_CreateTextLayout_" data-uid="GrapeCity.Documents.Drawing.GcGraphics.CreateTextLayout*"></a>
<h4 id="GrapeCity_Documents_Drawing_GcGraphics_CreateTextLayout" data-uid="GrapeCity.Documents.Drawing.GcGraphics.CreateTextLayout">CreateTextLayout()</h4>
<div class="markdown level1 summary"><p>Creates an instance of <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a> with the same resolution as that of the current graphics.</p>
<p>
This is the recommended way to create a TextLayout to use with a graphics.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TextLayout CreateTextLayout()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateTextLayout() As TextLayout</code></pre>
</div>
<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="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a></td>
      <td><p>The newly created text layout.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Documents_Drawing_GcGraphics_CreateTextLayout_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="GrapeCity.Documents.Text.TextLayout.Resolution.html#GrapeCity_Documents_Text_TextLayout_Resolution">Resolution</a></div>
</div>
</div>
