# C1.Framework.XView.CreateGraphics

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_XView_CreateGraphics_" data-uid="C1.Framework.XView.CreateGraphics*">CreateGraphics Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_XView_CreateGraphics_" data-uid="C1.Framework.XView.CreateGraphics*"></a>
<h4 id="C1_Framework_XView_CreateGraphics" data-uid="C1.Framework.XView.CreateGraphics">CreateGraphics()</h4>
<div class="markdown level1 summary"><p>Creates a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a> object for the control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Graphics CreateGraphics()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateGraphics() As Graphics</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="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a> object for the control.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_XView_CreateGraphics_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a> object returned by this method reflects the current
settings for the <a class="xref" href="C1.Framework.XView.SmoothingMode.html#C1_Framework_XView_SmoothingMode">SmoothingMode</a> and <a class="xref" href="C1.Framework.XView.TextRenderingHint.html#C1_Framework_XView_TextRenderingHint">TextRenderingHint</a>
properties.</p>
</div>
</div>
