# C1.Util.DX.Direct2D.RenderTarget.DrawGlyphRun

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_RenderTarget_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawGlyphRun*">DrawGlyphRun Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_RenderTarget_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawGlyphRun*"></a>
<h4 id="C1_Util_DX_Direct2D_RenderTarget_DrawGlyphRun_C1_Util_DX_Point2F_C1_Util_DX_DirectWrite_GlyphRun_C1_Util_DX_Direct2D_Brush_C1_Util_DX_DirectWrite_MeasuringMode_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawGlyphRun(C1.Util.DX.Point2F,C1.Util.DX.DirectWrite.GlyphRun,C1.Util.DX.Direct2D.Brush,C1.Util.DX.DirectWrite.MeasuringMode)">DrawGlyphRun(Point2F, GlyphRun, Brush, MeasuringMode)</h4>
<div class="markdown level1 summary"><p>void ID2D1RenderTarget::DrawGlyphRun([In] D2D_POINT_2F baselineOrigin,[In] const DWRITE_GLYPH_RUN* glyphRun,[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, 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, 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.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_RenderTarget_DrawGlyphRun_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawGlyphRun*"></a>
<h4 id="C1_Util_DX_Direct2D_RenderTarget_DrawGlyphRun_C1_Util_DX_Point2F_System_IntPtr_C1_Util_DX_Direct2D_Brush_C1_Util_DX_DirectWrite_MeasuringMode_" data-uid="C1.Util.DX.Direct2D.RenderTarget.DrawGlyphRun(C1.Util.DX.Point2F,System.IntPtr,C1.Util.DX.Direct2D.Brush,C1.Util.DX.DirectWrite.MeasuringMode)">DrawGlyphRun(Point2F, IntPtr, Brush, MeasuringMode)</h4>
<div class="markdown level1 summary"><p>void ID2D1RenderTarget::DrawGlyphRun([In] D2D_POINT_2F baselineOrigin,[In] const DWRITE_GLYPH_RUN* glyphRun,[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, 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, 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="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>
