# FarPoint.Win.SuperEditBase.GetDrawingStringFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_SuperEditBase_GetDrawingStringFormat_" data-uid="FarPoint.Win.SuperEditBase.GetDrawingStringFormat*">GetDrawingStringFormat Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_SuperEditBase_GetDrawingStringFormat_" data-uid="FarPoint.Win.SuperEditBase.GetDrawingStringFormat*"></a>
<h4 id="FarPoint_Win_SuperEditBase_GetDrawingStringFormat_System_Drawing_Rectangle__" data-uid="FarPoint.Win.SuperEditBase.GetDrawingStringFormat(System.Drawing.Rectangle@)">GetDrawingStringFormat(ref Rectangle)</h4>
<div class="markdown level1 summary"><p>Gets a new string format for drawing the text in the specified rectangle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual StringFormat GetDrawingStringFormat(ref Rectangle drawRect)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetDrawingStringFormat(ByRef drawRect As Rectangle) As StringFormat</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.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">drawRect</span></td>
      <td><p>Rectangle for drawing text</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.drawing.stringformat">StringFormat</a></td>
      <td><p>StringFormat object that contains the string format</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_SuperEditBase_GetDrawingStringFormat_System_Drawing_Rectangle___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method modifies the rectangle under certain settings.</p>
</div>
</div>
