# C1.Win.Gauge.C1GaugeCaption

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Gauge_C1GaugeCaption" data-uid="C1.Win.Gauge.C1GaugeCaption" class="text-break">C1GaugeCaption Class
</h1>
  <div class="markdown level0 summary"><p>Draws a text caption.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.Gauge.C1GaugeBaseShape.html">C1GaugeBaseShape</a></div>
    <div class="level2"><span class="xref">C1GaugeCaption</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icustomtypedescriptor">ICustomTypeDescriptor</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Gauge.html">C1.Win.Gauge</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Gauge.10.dll</h6>
  <h5 id="C1_Win_Gauge_C1GaugeCaption_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1GaugeCaption : C1GaugeBaseShape, ICloneable, IDisposable, ICustomTypeDescriptor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1GaugeCaption
    Inherits C1GaugeBaseShape
    Implements ICloneable, IDisposable, ICustomTypeDescriptor</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption__ctor" data-uid="C1.Win.Gauge.C1GaugeCaption.#ctor">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.-ctor.html#C1_Win_Gauge_C1GaugeCaption__ctor">C1GaugeCaption()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the shape.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_Alignment" data-uid="C1.Win.Gauge.C1GaugeCaption.Alignment">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.Alignment.html#C1_Win_Gauge_C1GaugeCaption_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets text alignment information on the vertical plane.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_Color" data-uid="C1.Win.Gauge.C1GaugeCaption.Color">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.Color.html#C1_Win_Gauge_C1GaugeCaption_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Color used to display text caption.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_CommonFontName" data-uid="C1.Win.Gauge.C1GaugeCaption.CommonFontName">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.CommonFontName.html#C1_Win_Gauge_C1GaugeCaption_CommonFontName">CommonFontName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the font and color template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_DirectionRightToLeft" data-uid="C1.Win.Gauge.C1GaugeCaption.DirectionRightToLeft">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.DirectionRightToLeft.html#C1_Win_Gauge_C1GaugeCaption_DirectionRightToLeft">DirectionRightToLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Text is displayed from right to left.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_DirectionVertical" data-uid="C1.Win.Gauge.C1GaugeCaption.DirectionVertical">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.DirectionVertical.html#C1_Win_Gauge_C1GaugeCaption_DirectionVertical">DirectionVertical</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Text is displayed in vertical direction.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_Font" data-uid="C1.Win.Gauge.C1GaugeCaption.Font">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.Font.html#C1_Win_Gauge_C1GaugeCaption_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font used to display text caption.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_FontSize" data-uid="C1.Win.Gauge.C1GaugeCaption.FontSize">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.FontSize.html#C1_Win_Gauge_C1GaugeCaption_FontSize">FontSize</a>
        </td>
        <td class="markdown level1 summary"><p>Logical value representing the scalable font size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_Height" data-uid="C1.Win.Gauge.C1GaugeCaption.Height">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.Height.html#C1_Win_Gauge_C1GaugeCaption_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the logical (positive) or fraction-based (negative) height of the caption.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_LineAlignment" data-uid="C1.Win.Gauge.C1GaugeCaption.LineAlignment">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.LineAlignment.html#C1_Win_Gauge_C1GaugeCaption_LineAlignment">LineAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line alignment on the horizontal plane.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_NoClip" data-uid="C1.Win.Gauge.C1GaugeCaption.NoClip">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.NoClip.html#C1_Win_Gauge_C1GaugeCaption_NoClip">NoClip</a>
        </td>
        <td class="markdown level1 summary"><p>If set to True, unwrapped text reaching outside the formatting rectangle is allowed to show.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_NoWrap" data-uid="C1.Win.Gauge.C1GaugeCaption.NoWrap">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.NoWrap.html#C1_Win_Gauge_C1GaugeCaption_NoWrap">NoWrap</a>
        </td>
        <td class="markdown level1 summary"><p>If set to True, text wrapping between lines when formatting within a rectangle is disabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_RotateAngle" data-uid="C1.Win.Gauge.C1GaugeCaption.RotateAngle">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.RotateAngle.html#C1_Win_Gauge_C1GaugeCaption_RotateAngle">RotateAngle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rotation angle (pivot point is at the center of the caption).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_Text" data-uid="C1.Win.Gauge.C1GaugeCaption.Text">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.Text.html#C1_Win_Gauge_C1GaugeCaption_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text displayed in this caption.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_Trimming" data-uid="C1.Win.Gauge.C1GaugeCaption.Trimming">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.Trimming.html#C1_Win_Gauge_C1GaugeCaption_Trimming">Trimming</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates how text is trimmed when it exceeds the edges of the layout rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_Width" data-uid="C1.Win.Gauge.C1GaugeCaption.Width">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.Width.html#C1_Win_Gauge_C1GaugeCaption_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the logical (positive) or fraction-based (negative) width of the caption.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_ResetColor" data-uid="C1.Win.Gauge.C1GaugeCaption.ResetColor">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.ResetColor.html#C1_Win_Gauge_C1GaugeCaption_ResetColor">ResetColor()</a>
        </td>
        <td class="markdown level1 summary"><p>This member is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeCaption_ShouldSerializeColor" data-uid="C1.Win.Gauge.C1GaugeCaption.ShouldSerializeColor">
          <a class="xref" href="C1.Win.Gauge.C1GaugeCaption.ShouldSerializeColor.html#C1_Win_Gauge_C1GaugeCaption_ShouldSerializeColor">ShouldSerializeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>This member is for internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
