# C1.WPF.Document.Util.C1HtmlGraphics.DrawGlyphRun

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Document_Util_C1HtmlGraphics_DrawGlyphRun_" data-uid="C1.WPF.Document.Util.C1HtmlGraphics.DrawGlyphRun*">DrawGlyphRun Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Document_Util_C1HtmlGraphics_DrawGlyphRun_" data-uid="C1.WPF.Document.Util.C1HtmlGraphics.DrawGlyphRun*"></a>
<h4 id="C1_WPF_Document_Util_C1HtmlGraphics_DrawGlyphRun_System_Double_System_Double_System_Int32_System_IntPtr_System_IntPtr_System_IntPtr_System_IntPtr_System_Drawing_Color_C1_Document_Util_IC1TextRangeBase_C1_Document_Util_C1TextLayout_System_String_" data-uid="C1.WPF.Document.Util.C1HtmlGraphics.DrawGlyphRun(System.Double,System.Double,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,System.Drawing.Color,C1.Document.Util.IC1TextRangeBase,C1.Document.Util.C1TextLayout,System.String)">DrawGlyphRun(double, double, int, IntPtr, IntPtr, IntPtr, IntPtr, Color, IC1TextRangeBase, C1TextLayout, string)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void DrawGlyphRun(double baselineOriginX, double baselineOriginY, int glyphCount, IntPtr glyphIndices, IntPtr glyphAdvances, IntPtr glyphOffsets, IntPtr clusterMap, Color foreColor, IC1TextRangeBase format, C1TextLayout textLayout, string text)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub DrawGlyphRun(baselineOriginX As Double, baselineOriginY As Double, glyphCount As Integer, glyphIndices As IntPtr, glyphAdvances As IntPtr, glyphOffsets As IntPtr, clusterMap As IntPtr, foreColor As Color, format As IC1TextRangeBase, textLayout As C1TextLayout, text As String)</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.double">double</a></td>
      <td><span class="parametername">baselineOriginX</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">baselineOriginY</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">glyphCount</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a></td>
      <td><span class="parametername">glyphIndices</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a></td>
      <td><span class="parametername">glyphAdvances</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a></td>
      <td><span class="parametername">glyphOffsets</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a></td>
      <td><span class="parametername">clusterMap</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">foreColor</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">IC1TextRangeBase</span></td>
      <td><span class="parametername">format</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">C1TextLayout</span></td>
      <td><span class="parametername">textLayout</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
