# C1.Win.Gauge.C1GaugeViewport

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Gauge_C1GaugeViewport" data-uid="C1.Win.Gauge.C1GaugeViewport" class="text-break">C1GaugeViewport Class
</h1>
  <div class="markdown level0 summary"><p>Specifies the bounds of a Gauge element.</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"><span class="xref">C1GaugeViewport</span></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_C1GaugeViewport_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1GaugeViewport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1GaugeViewport</code></pre>
  </div>
  <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_C1GaugeViewport_AspectPinX" data-uid="C1.Win.Gauge.C1GaugeViewport.AspectPinX">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.AspectPinX.html#C1_Win_Gauge_C1GaugeViewport_AspectPinX">AspectPinX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the relative X position that remains fixed when the viewport
moves in order to maintain the aspect ration.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_AspectPinY" data-uid="C1.Win.Gauge.C1GaugeViewport.AspectPinY">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.AspectPinY.html#C1_Win_Gauge_C1GaugeViewport_AspectPinY">AspectPinY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the relative Y position that remains fixed when the viewport
moves in order to maintain the aspect ratio.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_AspectRatio" data-uid="C1.Win.Gauge.C1GaugeViewport.AspectRatio">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.AspectRatio.html#C1_Win_Gauge_C1GaugeViewport_AspectRatio">AspectRatio</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fixed ratio of width to height of the viewport.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_Bounds" data-uid="C1.Win.Gauge.C1GaugeViewport.Bounds">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.Bounds.html#C1_Win_Gauge_C1GaugeViewport_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the size and location of the viewport, in pixels, relative to the parent control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_Height" data-uid="C1.Win.Gauge.C1GaugeViewport.Height">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.Height.html#C1_Win_Gauge_C1GaugeViewport_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the viewport (in pixels).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_MarginX" data-uid="C1.Win.Gauge.C1GaugeViewport.MarginX">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.MarginX.html#C1_Win_Gauge_C1GaugeViewport_MarginX">MarginX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left and right margins (in pixels).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_MarginY" data-uid="C1.Win.Gauge.C1GaugeViewport.MarginY">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.MarginY.html#C1_Win_Gauge_C1GaugeViewport_MarginY">MarginY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top and bottom margins (in pixels).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_ScaleX" data-uid="C1.Win.Gauge.C1GaugeViewport.ScaleX">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.ScaleX.html#C1_Win_Gauge_C1GaugeViewport_ScaleX">ScaleX</a>
        </td>
        <td class="markdown level1 summary"><p>Scales the width of the viewport by the specified relative amount (after translation).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_ScaleY" data-uid="C1.Win.Gauge.C1GaugeViewport.ScaleY">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.ScaleY.html#C1_Win_Gauge_C1GaugeViewport_ScaleY">ScaleY</a>
        </td>
        <td class="markdown level1 summary"><p>Scales the height of the viewport by the specified relative amount (after translation).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_TranslateX" data-uid="C1.Win.Gauge.C1GaugeViewport.TranslateX">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.TranslateX.html#C1_Win_Gauge_C1GaugeViewport_TranslateX">TranslateX</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the viewport by the specified relative amount along the X-axis (before scaling).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_TranslateY" data-uid="C1.Win.Gauge.C1GaugeViewport.TranslateY">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.TranslateY.html#C1_Win_Gauge_C1GaugeViewport_TranslateY">TranslateY</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the viewport by the specified relative amount along the Y-axis (before scaling).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_Width" data-uid="C1.Win.Gauge.C1GaugeViewport.Width">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.Width.html#C1_Win_Gauge_C1GaugeViewport_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the viewport (in pixels).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_X" data-uid="C1.Win.Gauge.C1GaugeViewport.X">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.X.html#C1_Win_Gauge_C1GaugeViewport_X">X</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the X-offset of the viewport (in pixels).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Gauge_C1GaugeViewport_Y" data-uid="C1.Win.Gauge.C1GaugeViewport.Y">
          <a class="xref" href="C1.Win.Gauge.C1GaugeViewport.Y.html#C1_Win_Gauge_C1GaugeViewport_Y">Y</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Y-offset of the viewport (in pixels).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
