# C1.C1Preview.UnitTypeEnum

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_C1Preview_UnitTypeEnum" data-uid="C1.C1Preview.UnitTypeEnum" class="text-break">UnitTypeEnum Enum
</h1>
  <div class="markdown level0 summary"><p>Enumerates units of measurement used in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>,
used by <a class="xref" href="C1.C1Preview.Unit.html">Unit</a> and related types.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_UnitTypeEnum_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum UnitTypeEnum</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum UnitTypeEnum</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Cm">Cm</td>
        <td><p>Specifies centimetre's as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Default">Default</td>
        <td><p>Units specified by a document's <a class="xref" href="C1.C1Preview.C1PrintDocument.DefaultUnit.html#C1_C1Preview_C1PrintDocument_DefaultUnit">DefaultUnit</a> are used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Display">Display</td>
        <td><p>Specifies 1/75 inch as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Document">Document</td>
        <td><p>Specifies the document unit (1/300 inch) as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Em">Em</td>
        <td><p>Measurement is relative to the height of the element's font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Ex">Ex</td>
        <td><p>Measurement is relative to the height of the lowercase letter x of the element's font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_InHs">InHs</td>
        <td><p>Specifies a hundredths of an inch as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Inch">Inch</td>
        <td><p>Specifies the inch as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_LineSpacing">LineSpacing</td>
        <td><p>Measurement is relative to the spacing between two lines of element's font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Mm">Mm</td>
        <td><p>Specifies the millimeter as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Pica">Pica</td>
        <td><p>Specifies the pica unit (1/6 inch) as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Pixel">Pixel</td>
        <td><p>Specifies a device pixel as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Point">Point</td>
        <td><p>Specifies a printer's point (1/72 inch) as the unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UnitTypeEnum_Twip">Twip</td>
        <td><p>Specifies a twip (1/1440 inch) as the unit of measure.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
