# C1.WPF.C1ZoomUnit

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1ZoomUnit" data-uid="C1.WPF.C1ZoomUnit" class="text-break">C1ZoomUnit Struct
</h1>
  <div class="markdown level0 summary"><p>Represent a zoom which can be expresed like a fixed value, or relative to the viewport.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1ZoomUnit_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(C1ZoomUnitTypeConverter))]
public struct C1ZoomUnit</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(C1ZoomUnitTypeConverter))&gt;
Public Structure C1ZoomUnit</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_WPF_C1ZoomUnit__ctor_System_Double_" data-uid="C1.WPF.C1ZoomUnit.#ctor(System.Double)">
          <a class="xref" href="C1.WPF.C1ZoomUnit.-ctor.html#C1_WPF_C1ZoomUnit__ctor_System_Double_">C1ZoomUnit(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1ZoomUnit.html">C1ZoomUnit</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit__ctor_System_Double_C1_WPF_C1ZoomUnitType_" data-uid="C1.WPF.C1ZoomUnit.#ctor(System.Double,C1.WPF.C1ZoomUnitType)">
          <a class="xref" href="C1.WPF.C1ZoomUnit.-ctor.html#C1_WPF_C1ZoomUnit__ctor_System_Double_C1_WPF_C1ZoomUnitType_">C1ZoomUnit(double, C1ZoomUnitType)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1ZoomUnit.html">C1ZoomUnit</a> struct.</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_WPF_C1ZoomUnit_Fill" data-uid="C1.WPF.C1ZoomUnit.Fill">
          <a class="xref" href="C1.WPF.C1ZoomUnit.Fill.html#C1_WPF_C1ZoomUnit_Fill">Fill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the zoom which auto-adjust to fill the viewport.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_IsFill" data-uid="C1.WPF.C1ZoomUnit.IsFill">
          <a class="xref" href="C1.WPF.C1ZoomUnit.IsFill.html#C1_WPF_C1ZoomUnit_IsFill">IsFill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the zoom will be adjusted to fill the viewport.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_IsFixed" data-uid="C1.WPF.C1ZoomUnit.IsFixed">
          <a class="xref" href="C1.WPF.C1ZoomUnit.IsFixed.html#C1_WPF_C1ZoomUnit_IsFixed">IsFixed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the zoom is a fixed value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_IsOneItem" data-uid="C1.WPF.C1ZoomUnit.IsOneItem">
          <a class="xref" href="C1.WPF.C1ZoomUnit.IsOneItem.html#C1_WPF_C1ZoomUnit_IsOneItem">IsOneItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the zoom will be adjusted to show one item entirely.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_OneItem" data-uid="C1.WPF.C1ZoomUnit.OneItem">
          <a class="xref" href="C1.WPF.C1ZoomUnit.OneItem.html#C1_WPF_C1ZoomUnit_OneItem">OneItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the zoom which auto-adjust to show one item entirely in the viewport.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_Type" data-uid="C1.WPF.C1ZoomUnit.Type">
          <a class="xref" href="C1.WPF.C1ZoomUnit.Type.html#C1_WPF_C1ZoomUnit_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of unit.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_Value" data-uid="C1.WPF.C1ZoomUnit.Value">
          <a class="xref" href="C1.WPF.C1ZoomUnit.Value.html#C1_WPF_C1ZoomUnit_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value.</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_WPF_C1ZoomUnit_Equals_System_Object_" data-uid="C1.WPF.C1ZoomUnit.Equals(System.Object)">
          <a class="xref" href="C1.WPF.C1ZoomUnit.Equals.html#C1_WPF_C1ZoomUnit_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_GetHashCode" data-uid="C1.WPF.C1ZoomUnit.GetHashCode">
          <a class="xref" href="C1.WPF.C1ZoomUnit.GetHashCode.html#C1_WPF_C1ZoomUnit_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_ToString" data-uid="C1.WPF.C1ZoomUnit.ToString">
          <a class="xref" href="C1.WPF.C1ZoomUnit.ToString.html#C1_WPF_C1ZoomUnit_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> that represents this instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_op_Equality_C1_WPF_C1ZoomUnit_C1_WPF_C1ZoomUnit_" data-uid="C1.WPF.C1ZoomUnit.op_Equality(C1.WPF.C1ZoomUnit,C1.WPF.C1ZoomUnit)">
          <a class="xref" href="C1.WPF.C1ZoomUnit.op_Equality.html#C1_WPF_C1ZoomUnit_op_Equality_C1_WPF_C1ZoomUnit_C1_WPF_C1ZoomUnit_">operator ==(C1ZoomUnit, C1ZoomUnit)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two C1ZoomUnit structures for equality.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnit_op_Inequality_C1_WPF_C1ZoomUnit_C1_WPF_C1ZoomUnit_" data-uid="C1.WPF.C1ZoomUnit.op_Inequality(C1.WPF.C1ZoomUnit,C1.WPF.C1ZoomUnit)">
          <a class="xref" href="C1.WPF.C1ZoomUnit.op_Inequality.html#C1_WPF_C1ZoomUnit_op_Inequality_C1_WPF_C1ZoomUnit_C1_WPF_C1ZoomUnit_">operator !=(C1ZoomUnit, C1ZoomUnit)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two C1ZoomUnit structures to determine if they are not equal.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
