# C1.Win.Drawing.StringRendererGDIPlus

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Drawing_StringRendererGDIPlus" data-uid="C1.Win.Drawing.StringRendererGDIPlus" class="text-break">StringRendererGDIPlus Class
</h1>
  <div class="markdown level0 summary"><p>Provides methods used to measure and render text using GDI plus.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.Drawing.StringRendererBase.html">StringRendererBase</a></div>
    <div class="level2"><span class="xref">StringRendererGDIPlus</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Drawing.html">C1.Win.Drawing</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Drawing_StringRendererGDIPlus_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StringRendererGDIPlus : StringRendererBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StringRendererGDIPlus
    Inherits StringRendererBase</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Drawing_StringRendererGDIPlus__ctor" data-uid="C1.Win.Drawing.StringRendererGDIPlus.#ctor">
          <a class="xref" href="C1.Win.Drawing.StringRendererGDIPlus.-ctor.html#C1_Win_Drawing_StringRendererGDIPlus__ctor">StringRendererGDIPlus()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Drawing_StringRendererGDIPlus_HighlightSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Brush_System_Drawing_Rectangle_System_String_System_Drawing_Brush_System_Collections_Generic_IList_System_Drawing_CharacterRange__" data-uid="C1.Win.Drawing.StringRendererGDIPlus.HighlightSubstring(System.Drawing.Graphics,System.Drawing.Font,System.Drawing.StringFormat,System.Drawing.Brush,System.Drawing.Rectangle,System.String,System.Drawing.Brush,System.Collections.Generic.IList{System.Drawing.CharacterRange})">
          <a class="xref" href="C1.Win.Drawing.StringRendererGDIPlus.HighlightSubstring.html#C1_Win_Drawing_StringRendererGDIPlus_HighlightSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Brush_System_Drawing_Rectangle_System_String_System_Drawing_Brush_System_Collections_Generic_IList_System_Drawing_CharacterRange__">HighlightSubstring(Graphics, Font, StringFormat, Brush, Rectangle, string, Brush, IList&lt;CharacterRange&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws text and highlight a parts of that text with a special background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Drawing_StringRendererGDIPlus_HighlightSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Brush_System_Drawing_Rectangle_System_String_System_Drawing_Brush_System_String_System_Int32_" data-uid="C1.Win.Drawing.StringRendererGDIPlus.HighlightSubstring(System.Drawing.Graphics,System.Drawing.Font,System.Drawing.StringFormat,System.Drawing.Brush,System.Drawing.Rectangle,System.String,System.Drawing.Brush,System.String,System.Int32)">
          <a class="xref" href="C1.Win.Drawing.StringRendererGDIPlus.HighlightSubstring.html#C1_Win_Drawing_StringRendererGDIPlus_HighlightSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Brush_System_Drawing_Rectangle_System_String_System_Drawing_Brush_System_String_System_Int32_">HighlightSubstring(Graphics, Font, StringFormat, Brush, Rectangle, string, Brush, string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws text and highlight a part of that text with a special background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Drawing_StringRendererGDIPlus_MeasureSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Rectangle_System_String_System_Collections_Generic_IList_System_Drawing_CharacterRange__" data-uid="C1.Win.Drawing.StringRendererGDIPlus.MeasureSubstring(System.Drawing.Graphics,System.Drawing.Font,System.Drawing.StringFormat,System.Drawing.Rectangle,System.String,System.Collections.Generic.IList{System.Drawing.CharacterRange})">
          <a class="xref" href="C1.Win.Drawing.StringRendererGDIPlus.MeasureSubstring.html#C1_Win_Drawing_StringRendererGDIPlus_MeasureSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Rectangle_System_String_System_Collections_Generic_IList_System_Drawing_CharacterRange__">MeasureSubstring(Graphics, Font, StringFormat, Rectangle, string, IList&lt;CharacterRange&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounds for displaying the part of this text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Drawing_StringRendererGDIPlus_MeasureSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Rectangle_System_String_System_Int32_System_Int32_" data-uid="C1.Win.Drawing.StringRendererGDIPlus.MeasureSubstring(System.Drawing.Graphics,System.Drawing.Font,System.Drawing.StringFormat,System.Drawing.Rectangle,System.String,System.Int32,System.Int32)">
          <a class="xref" href="C1.Win.Drawing.StringRendererGDIPlus.MeasureSubstring.html#C1_Win_Drawing_StringRendererGDIPlus_MeasureSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Rectangle_System_String_System_Int32_System_Int32_">MeasureSubstring(Graphics, Font, StringFormat, Rectangle, string, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounds for displaying the part of this text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Drawing_StringRendererGDIPlus_MeasureSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Rectangle_System_String_System_String_System_Int32_" data-uid="C1.Win.Drawing.StringRendererGDIPlus.MeasureSubstring(System.Drawing.Graphics,System.Drawing.Font,System.Drawing.StringFormat,System.Drawing.Rectangle,System.String,System.String,System.Int32)">
          <a class="xref" href="C1.Win.Drawing.StringRendererGDIPlus.MeasureSubstring.html#C1_Win_Drawing_StringRendererGDIPlus_MeasureSubstring_System_Drawing_Graphics_System_Drawing_Font_System_Drawing_StringFormat_System_Drawing_Rectangle_System_String_System_String_System_Int32_">MeasureSubstring(Graphics, Font, StringFormat, Rectangle, string, string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounds for displaying the part of this text.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
