# C1.Util.DX.Direct2D.CommandSink.DrawGlyphRun

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_CommandSink_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.CommandSink.DrawGlyphRun*">DrawGlyphRun Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_CommandSink_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.CommandSink.DrawGlyphRun*"></a>
<h4 id="C1_Util_DX_Direct2D_CommandSink_DrawGlyphRun_C1_Util_DX_Point2F_C1_Util_DX_DirectWrite_GlyphRun_C1_Util_DX_DirectWrite_GlyphRunDescription_C1_Util_DX_Direct2D_Brush_C1_Util_DX_DirectWrite_MeasuringMode_" data-uid="C1.Util.DX.Direct2D.CommandSink.DrawGlyphRun(C1.Util.DX.Point2F,C1.Util.DX.DirectWrite.GlyphRun,C1.Util.DX.DirectWrite.GlyphRunDescription,C1.Util.DX.Direct2D.Brush,C1.Util.DX.DirectWrite.MeasuringMode)">DrawGlyphRun(Point2F, GlyphRun, GlyphRunDescription, Brush, MeasuringMode)</h4>
<div class="markdown level1 summary"><p>HRESULT ID2D1CommandSink::DrawGlyphRun([In] D2D_POINT_2F baselineOrigin,[In] const DWRITE_GLYPH_RUN* glyphRun,[In, Optional] const DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription,[In] ID2D1Brush* foregroundBrush,[In] DWRITE_MEASURING_MODE measuringMode)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void DrawGlyphRun(Point2F baselineOrigin, GlyphRun glyphRun, GlyphRunDescription glyphRunDescription, Brush foregroundBrush, MeasuringMode measuringMode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub DrawGlyphRun(baselineOrigin As Point2F, glyphRun As GlyphRun, glyphRunDescription As GlyphRunDescription, foregroundBrush As Brush, measuringMode As MeasuringMode)</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="C1.Util.DX.Point2F.html">Point2F</a></td>
      <td><span class="parametername">baselineOrigin</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DirectWrite.GlyphRun.html">GlyphRun</a></td>
      <td><span class="parametername">glyphRun</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunDescription.html">GlyphRunDescription</a></td>
      <td><span class="parametername">glyphRunDescription</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.Brush.html">Brush</a></td>
      <td><span class="parametername">foregroundBrush</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DirectWrite.MeasuringMode.html">MeasuringMode</a></td>
      <td><span class="parametername">measuringMode</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
