# C1.Util.DX.Direct2D.DeviceContext.DrawGlyphRun

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_DeviceContext_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.DeviceContext.DrawGlyphRun*">DrawGlyphRun Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_DeviceContext_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.DeviceContext.DrawGlyphRun*"></a>
<h4 id="C1_Util_DX_Direct2D_DeviceContext_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.DeviceContext.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>void ID2D1DeviceContext::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">public void DrawGlyphRun(Point2F baselineOrigin, GlyphRun glyphRun, GlyphRunDescription glyphRunDescription, Brush foregroundBrush, MeasuringMode measuringMode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public 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>


<a id="C1_Util_DX_Direct2D_DeviceContext_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.DeviceContext.DrawGlyphRun*"></a>
<h4 id="C1_Util_DX_Direct2D_DeviceContext_DrawGlyphRun_C1_Util_DX_Point2F_System_IntPtr_System_IntPtr_C1_Util_DX_Direct2D_Brush_C1_Util_DX_DirectWrite_MeasuringMode_" data-uid="C1.Util.DX.Direct2D.DeviceContext.DrawGlyphRun(C1.Util.DX.Point2F,System.IntPtr,System.IntPtr,C1.Util.DX.Direct2D.Brush,C1.Util.DX.DirectWrite.MeasuringMode)">DrawGlyphRun(Point2F, IntPtr, IntPtr, Brush, MeasuringMode)</h4>
<div class="markdown level1 summary"><p>void ID2D1DeviceContext::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">public void DrawGlyphRun(Point2F baselineOrigin, IntPtr glyphRun, IntPtr glyphRunDescription, Brush foregroundBrush, MeasuringMode measuringMode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub DrawGlyphRun(baselineOrigin As Point2F, glyphRun As IntPtr, glyphRunDescription As IntPtr, 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="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a></td>
      <td><span class="parametername">glyphRun</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">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>
