# C1.C1Preview.SizeD

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_SizeD" data-uid="C1.C1Preview.SizeD" class="text-break">SizeD Struct
</h1>
  <div class="markdown level0 summary"><p>Stores an ordered pair of <b>double</b> values, typically the width and height of a rectangle.</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.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_SizeD_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct SizeD</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure SizeD</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_C1Preview_SizeD__ctor_System_Double_System_Double_" data-uid="C1.C1Preview.SizeD.#ctor(System.Double,System.Double)">
          <a class="xref" href="C1.C1Preview.SizeD.-ctor.html#C1_C1Preview_SizeD__ctor_System_Double_System_Double_">SizeD(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structure.</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_C1Preview_SizeD_Empty" data-uid="C1.C1Preview.SizeD.Empty">
          <a class="xref" href="C1.C1Preview.SizeD.Empty.html#C1_C1Preview_SizeD_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents an empty instance of the <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_Height" data-uid="C1.C1Preview.SizeD.Height">
          <a class="xref" href="C1.C1Preview.SizeD.Height.html#C1_C1Preview_SizeD_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical component of the current <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_IsEmpty" data-uid="C1.C1Preview.SizeD.IsEmpty">
          <a class="xref" href="C1.C1Preview.SizeD.IsEmpty.html#C1_C1Preview_SizeD_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether of the current <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> has zero <a class="xref" href="C1.C1Preview.SizeD.Width.html#C1_C1Preview_SizeD_Width">Width</a> and <a class="xref" href="C1.C1Preview.SizeD.Height.html#C1_C1Preview_SizeD_Height">Height</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_Width" data-uid="C1.C1Preview.SizeD.Width">
          <a class="xref" href="C1.C1Preview.SizeD.Width.html#C1_C1Preview_SizeD_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal component of the current <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a>.</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_C1Preview_SizeD_Add_C1_C1Preview_SizeD_C1_C1Preview_SizeD_" data-uid="C1.C1Preview.SizeD.Add(C1.C1Preview.SizeD,C1.C1Preview.SizeD)">
          <a class="xref" href="C1.C1Preview.SizeD.Add.html#C1_C1Preview_SizeD_Add_C1_C1Preview_SizeD_C1_C1Preview_SizeD_">Add(SizeD, SizeD)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds two <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structures.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_Ceiling" data-uid="C1.C1Preview.SizeD.Ceiling">
          <a class="xref" href="C1.C1Preview.SizeD.Ceiling.html#C1_C1Preview_SizeD_Ceiling">Ceiling()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the current <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structure to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> by rounding the
width and height to the next higher integer values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_Substract_C1_C1Preview_SizeD_C1_C1Preview_SizeD_" data-uid="C1.C1Preview.SizeD.Substract(C1.C1Preview.SizeD,C1.C1Preview.SizeD)">
          <a class="xref" href="C1.C1Preview.SizeD.Substract.html#C1_C1Preview_SizeD_Substract_C1_C1Preview_SizeD_C1_C1Preview_SizeD_">Substract(SizeD, SizeD)</a>
        </td>
        <td class="markdown level1 summary"><p>Subtracts one <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structure from another.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_ToString" data-uid="C1.C1Preview.SizeD.ToString">
          <a class="xref" href="C1.C1Preview.SizeD.ToString.html#C1_C1Preview_SizeD_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the current <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structure to a human-readable string representing it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_Truncate" data-uid="C1.C1Preview.SizeD.Truncate">
          <a class="xref" href="C1.C1Preview.SizeD.Truncate.html#C1_C1Preview_SizeD_Truncate">Truncate()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the current <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structure to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> by truncating the
width and height to integer values.</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_C1Preview_SizeD_op_Addition_C1_C1Preview_SizeD_C1_C1Preview_SizeD_" data-uid="C1.C1Preview.SizeD.op_Addition(C1.C1Preview.SizeD,C1.C1Preview.SizeD)">
          <a class="xref" href="C1.C1Preview.SizeD.op_Addition.html#C1_C1Preview_SizeD_op_Addition_C1_C1Preview_SizeD_C1_C1Preview_SizeD_">operator +(SizeD, SizeD)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds two <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structures.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_op_Explicit_C1_C1Preview_SizeD__C1_C1Preview_PointD" data-uid="C1.C1Preview.SizeD.op_Explicit(C1.C1Preview.SizeD)~C1.C1Preview.PointD">
          <a class="xref" href="C1.C1Preview.SizeD.op_Explicit.html#C1_C1Preview_SizeD_op_Explicit_C1_C1Preview_SizeD__C1_C1Preview_PointD">explicit operator PointD(SizeD)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> to a <a class="xref" href="C1.C1Preview.PointD.html">PointD</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_op_Implicit_System_Drawing_Size__C1_C1Preview_SizeD" data-uid="C1.C1Preview.SizeD.op_Implicit(System.Drawing.Size)~C1.C1Preview.SizeD">
          <a class="xref" href="C1.C1Preview.SizeD.op_Implicit.html#C1_C1Preview_SizeD_op_Implicit_System_Drawing_Size__C1_C1Preview_SizeD">implicit operator SizeD(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> to a <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_op_Implicit_System_Drawing_SizeF__C1_C1Preview_SizeD" data-uid="C1.C1Preview.SizeD.op_Implicit(System.Drawing.SizeF)~C1.C1Preview.SizeD">
          <a class="xref" href="C1.C1Preview.SizeD.op_Implicit.html#C1_C1Preview_SizeD_op_Implicit_System_Drawing_SizeF__C1_C1Preview_SizeD">implicit operator SizeD(SizeF)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.sizef">SizeF</a> to a <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_SizeD_op_Subtraction_C1_C1Preview_SizeD_C1_C1Preview_SizeD_" data-uid="C1.C1Preview.SizeD.op_Subtraction(C1.C1Preview.SizeD,C1.C1Preview.SizeD)">
          <a class="xref" href="C1.C1Preview.SizeD.op_Subtraction.html#C1_C1Preview_SizeD_op_Subtraction_C1_C1Preview_SizeD_C1_C1Preview_SizeD_">operator -(SizeD, SizeD)</a>
        </td>
        <td class="markdown level1 summary"><p>Subtracts one <a class="xref" href="C1.C1Preview.SizeD.html">SizeD</a> structure from another.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
