# C1.Util.DX.DirectWrite.TextRenderer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DirectWrite_TextRenderer" data-uid="C1.Util.DX.DirectWrite.TextRenderer" class="text-break">TextRenderer Interface
</h1>
  <div class="markdown level0 summary"><p>IDWriteTextRenderer</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.DirectWrite.html">C1.Util.DX.DirectWrite</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_DirectWrite_TextRenderer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;ef8a8135-5cc6-45fe-8825-c5a0724eb819&quot;)]
[Shadow(typeof(TextRendererShadow))]
public interface TextRenderer : PixelSnapping, ICallbackable, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;ef8a8135-5cc6-45fe-8825-c5a0724eb819&quot;)&gt;
&lt;Shadow(GetType(TextRendererShadow))&gt;
Public Interface TextRenderer
    Inherits PixelSnapping, ICallbackable, IDisposable</code></pre>
  </div>
  <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_Util_DX_DirectWrite_TextRenderer_DrawGlyphRun_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_MeasuringMode_C1_Util_DX_DirectWrite_GlyphRun_C1_Util_DX_DirectWrite_GlyphRunDescription_System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.TextRenderer.DrawGlyphRun(System.Object,System.Single,System.Single,C1.Util.DX.DirectWrite.MeasuringMode,C1.Util.DX.DirectWrite.GlyphRun,C1.Util.DX.DirectWrite.GlyphRunDescription,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.TextRenderer.DrawGlyphRun.html#C1_Util_DX_DirectWrite_TextRenderer_DrawGlyphRun_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_MeasuringMode_C1_Util_DX_DirectWrite_GlyphRun_C1_Util_DX_DirectWrite_GlyphRunDescription_System_IntPtr_">DrawGlyphRun(object, float, float, MeasuringMode, GlyphRun, GlyphRunDescription, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>IDWriteTextLayout::Draw calls this function to instruct the client to render a run of glyphs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextRenderer_DrawInlineObject_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_InlineObject_System_Boolean_System_Boolean_System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.TextRenderer.DrawInlineObject(System.Object,System.Single,System.Single,C1.Util.DX.DirectWrite.InlineObject,System.Boolean,System.Boolean,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.TextRenderer.DrawInlineObject.html#C1_Util_DX_DirectWrite_TextRenderer_DrawInlineObject_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_InlineObject_System_Boolean_System_Boolean_System_IntPtr_">DrawInlineObject(object, float, float, InlineObject, bool, bool, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>IDWriteTextLayout::Draw calls this application callback when it needs to draw an inline object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextRenderer_DrawStrikethrough_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_Strikethrough__System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.TextRenderer.DrawStrikethrough(System.Object,System.Single,System.Single,C1.Util.DX.DirectWrite.Strikethrough@,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.TextRenderer.DrawStrikethrough.html#C1_Util_DX_DirectWrite_TextRenderer_DrawStrikethrough_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_Strikethrough__System_IntPtr_">DrawStrikethrough(object, float, float, ref Strikethrough, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>IDWriteTextLayout::Draw calls this function to instruct the client to draw a strikethrough.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextRenderer_DrawUnderline_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_Underline__System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.TextRenderer.DrawUnderline(System.Object,System.Single,System.Single,C1.Util.DX.DirectWrite.Underline@,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.TextRenderer.DrawUnderline.html#C1_Util_DX_DirectWrite_TextRenderer_DrawUnderline_System_Object_System_Single_System_Single_C1_Util_DX_DirectWrite_Underline__System_IntPtr_">DrawUnderline(object, float, float, ref Underline, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>IDWriteTextLayout::Draw calls this function to instruct the client to draw an underline.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
