# GrapeCity.Drawing.SizeInt

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Drawing_SizeInt" data-uid="GrapeCity.Drawing.SizeInt" class="text-break">SizeInt Struct
</h1>
  <div class="markdown level0 summary"><p>Stores an ordered pair of integers, which specify a <a class="xref" href="GrapeCity.Drawing.SizeInt.Height.html#GrapeCity_Drawing_SizeInt_Height">Height</a> and <a class="xref" href="GrapeCity.Drawing.SizeInt.Width.html#GrapeCity_Drawing_SizeInt_Width">Width</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.Drawing.SizeInt.html">SizeInt</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Drawing.html">GrapeCity.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Drawing_SizeInt_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct SizeInt : IEquatable&lt;SizeInt&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure SizeInt
    Implements IEquatable(Of SizeInt)</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="GrapeCity_Drawing_SizeInt__ctor_System_Int32_System_Int32_" data-uid="GrapeCity.Drawing.SizeInt.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.-ctor.html#GrapeCity_Drawing_SizeInt__ctor_System_Int32_System_Int32_">SizeInt(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Drawing.SizeInt.html">SizeInt</a> class with the specified dimensions.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Drawing_SizeInt_Empty" data-uid="GrapeCity.Drawing.SizeInt.Empty">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Drawing.SizeInt.html">SizeInt</a> structure that has a <a class="xref" href="GrapeCity.Drawing.SizeInt.Height.html#GrapeCity_Drawing_SizeInt_Height">Height</a> and <a class="xref" href="GrapeCity.Drawing.SizeInt.Width.html#GrapeCity_Drawing_SizeInt_Width">Width</a> value of 0.</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="GrapeCity_Drawing_SizeInt_Height" data-uid="GrapeCity.Drawing.SizeInt.Height">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.Height.html#GrapeCity_Drawing_SizeInt_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical component of this <a class="xref" href="GrapeCity.Drawing.SizeInt.html">SizeInt</a> structure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_SizeInt_IsEmpty" data-uid="GrapeCity.Drawing.SizeInt.IsEmpty">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.IsEmpty.html#GrapeCity_Drawing_SizeInt_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether this <a class="xref" href="GrapeCity.Drawing.SizeInt.html">SizeInt</a> structure has width and height of 0.
This property returns true when this <a class="xref" href="GrapeCity.Drawing.SizeInt.html">SizeInt</a> structure has both a width and height of 0; otherwise, false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_SizeInt_Width" data-uid="GrapeCity.Drawing.SizeInt.Width">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.Width.html#GrapeCity_Drawing_SizeInt_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal component of this <a class="xref" href="GrapeCity.Drawing.SizeInt.html">SizeInt</a> structure.</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="GrapeCity_Drawing_SizeInt_Equals_GrapeCity_Drawing_SizeInt_" data-uid="GrapeCity.Drawing.SizeInt.Equals(GrapeCity.Drawing.SizeInt)">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.Equals.html#GrapeCity_Drawing_SizeInt_Equals_GrapeCity_Drawing_SizeInt_">Equals(SizeInt)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this value and a specified value are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_SizeInt_Equals_System_Object_" data-uid="GrapeCity.Drawing.SizeInt.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.Equals.html#GrapeCity_Drawing_SizeInt_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this value and a specified value are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_SizeInt_GetHashCode" data-uid="GrapeCity.Drawing.SizeInt.GetHashCode">
          <a class="xref" href="GrapeCity.Drawing.SizeInt.GetHashCode.html#GrapeCity_Drawing_SizeInt_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the hash code for this value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
