# C1.WPF.Gauge.GaugeLabel.Render

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Gauge_GaugeLabel_Render_" data-uid="C1.WPF.Gauge.GaugeLabel.Render*">Render Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Gauge_GaugeLabel_Render_" data-uid="C1.WPF.Gauge.GaugeLabel.Render*"></a>
<h4 id="C1_WPF_Gauge_GaugeLabel_Render_System_Windows_Media_DrawingContext_System_String_System_Windows_Point_System_Windows_Point_System_Windows_Media_Brush_" data-uid="C1.WPF.Gauge.GaugeLabel.Render(System.Windows.Media.DrawingContext,System.String,System.Windows.Point,System.Windows.Point,System.Windows.Media.Brush)">Render(DrawingContext, string, Point, Point, Brush)</h4>
<div class="markdown level1 summary"><p>Draw the a label.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void Render(DrawingContext drawingContext, string text, Point startPoint, Point endPoint, Brush brush)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub Render(drawingContext As DrawingContext, text As String, startPoint As Point, endPoint As Point, brush As Brush)</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.windows.media.drawingcontext">DrawingContext</a></td>
      <td><span class="parametername">drawingContext</span></td>
      <td><p>The context to draw the mark to.</p>
</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><p>The actual text to draw.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Point</span></td>
      <td><span class="parametername">startPoint</span></td>
      <td><p>The point where the text starts.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Point</span></td>
      <td><span class="parametername">endPoint</span></td>
      <td><p>The point were the text ends.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td><p>The brush used to paint the text.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
