# C1.Util.DX.Size2L

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Size2L" data-uid="C1.Util.DX.Size2L" class="text-break">Size2L Struct
</h1>
  <div class="markdown level0 summary"><p>Structure specifing a size with integer Width and Height.</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="C1.Util.DX.Size2L.html">Size2L</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Size2L_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Size2L : IEquatable&lt;Size2L&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Size2L
    Implements IEquatable(Of Size2L)</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_Util_DX_Size2L__ctor_System_Drawing_Size_" data-uid="C1.Util.DX.Size2L.#ctor(System.Drawing.Size)">
          <a class="xref" href="C1.Util.DX.Size2L.-ctor.html#C1_Util_DX_Size2L__ctor_System_Drawing_Size_">Size2L(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L__ctor_System_Int32_System_Int32_" data-uid="C1.Util.DX.Size2L.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.DX.Size2L.-ctor.html#C1_Util_DX_Size2L__ctor_System_Int32_System_Int32_">Size2L(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> struct.</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="C1_Util_DX_Size2L_Empty" data-uid="C1.Util.DX.Size2L.Empty">
          <a class="xref" href="C1.Util.DX.Size2L.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>An empty size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_Height" data-uid="C1.Util.DX.Size2L.Height">
          <a class="xref" href="C1.Util.DX.Size2L.Height.html">Height</a>
        </td>
        <td class="markdown level1 summary"><p>The vertical component of this <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> structure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_Infinite" data-uid="C1.Util.DX.Size2L.Infinite">
          <a class="xref" href="C1.Util.DX.Size2L.Infinite.html">Infinite</a>
        </td>
        <td class="markdown level1 summary"><p>An infinite size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_SizeInBytes" data-uid="C1.Util.DX.Size2L.SizeInBytes">
          <a class="xref" href="C1.Util.DX.Size2L.SizeInBytes.html">SizeInBytes</a>
        </td>
        <td class="markdown level1 summary"><p>The size of the <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> type, in bytes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_Width" data-uid="C1.Util.DX.Size2L.Width">
          <a class="xref" href="C1.Util.DX.Size2L.Width.html">Width</a>
        </td>
        <td class="markdown level1 summary"><p>The horizontal component of this <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</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_Util_DX_Size2L_IsEmpty" data-uid="C1.Util.DX.Size2L.IsEmpty">
          <a class="xref" href="C1.Util.DX.Size2L.IsEmpty.html#C1_Util_DX_Size2L_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if all components of <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> are equal to zero.</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_Util_DX_Size2L_Add_C1_Util_DX_Size2L_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Size2L.Add(C1.Util.DX.Size2L,C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Size2L.Add.html#C1_Util_DX_Size2L_Add_C1_Util_DX_Size2L_C1_Util_DX_Size2L_">Add(Size2L, Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the width and height of one Size2L structure to the width and height of another Size2L structure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_Equals_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Size2L.Equals(C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Size2L.Equals.html#C1_Util_DX_Size2L_Equals_C1_Util_DX_Size2L_">Equals(Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this instance and a specified object are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_Equals_System_Object_" data-uid="C1.Util.DX.Size2L.Equals(System.Object)">
          <a class="xref" href="C1.Util.DX.Size2L.Equals.html#C1_Util_DX_Size2L_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this instance and a specified object are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_GetHashCode" data-uid="C1.Util.DX.Size2L.GetHashCode">
          <a class="xref" href="C1.Util.DX.Size2L.GetHashCode.html#C1_Util_DX_Size2L_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as the default hash function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_Subtract_C1_Util_DX_Size2L_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Size2L.Subtract(C1.Util.DX.Size2L,C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Size2L.Subtract.html#C1_Util_DX_Size2L_Subtract_C1_Util_DX_Size2L_C1_Util_DX_Size2L_">Subtract(Size2L, Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Subtracts the width and height of one Size2L structure from the width and height of another Size2L structure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_ToSize" data-uid="C1.Util.DX.Size2L.ToSize">
          <a class="xref" href="C1.Util.DX.Size2L.ToSize.html#C1_Util_DX_Size2L_ToSize">ToSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_ToSize2D" data-uid="C1.Util.DX.Size2L.ToSize2D">
          <a class="xref" href="C1.Util.DX.Size2L.ToSize2D.html#C1_Util_DX_Size2L_ToSize2D">ToSize2D()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> to <a class="xref" href="C1.Util.DX.Size2D.html">Size2D</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_ToSize2F" data-uid="C1.Util.DX.Size2L.ToSize2F">
          <a class="xref" href="C1.Util.DX.Size2L.ToSize2F.html#C1_Util_DX_Size2L_ToSize2F">ToSize2F()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> to <a class="xref" href="C1.Util.DX.Size2F.html">Size2F</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_ToString" data-uid="C1.Util.DX.Size2L.ToString">
          <a class="xref" href="C1.Util.DX.Size2L.ToString.html#C1_Util_DX_Size2L_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current Size2L object.</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_Util_DX_Size2L_op_Equality_C1_Util_DX_Size2L_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Size2L.op_Equality(C1.Util.DX.Size2L,C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Size2L.op_Equality.html#C1_Util_DX_Size2L_op_Equality_C1_Util_DX_Size2L_C1_Util_DX_Size2L_">operator ==(Size2L, Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the specified Size2L objects are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_op_Explicit_C1_Util_DX_Size2L__System_Drawing_Size" data-uid="C1.Util.DX.Size2L.op_Explicit(C1.Util.DX.Size2L)~System.Drawing.Size">
          <a class="xref" href="C1.Util.DX.Size2L.op_Explicit.html#C1_Util_DX_Size2L_op_Explicit_C1_Util_DX_Size2L__System_Drawing_Size">explicit operator Size(Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a> to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_op_Explicit_System_Drawing_Size__C1_Util_DX_Size2L" data-uid="C1.Util.DX.Size2L.op_Explicit(System.Drawing.Size)~C1.Util.DX.Size2L">
          <a class="xref" href="C1.Util.DX.Size2L.op_Explicit.html#C1_Util_DX_Size2L_op_Explicit_System_Drawing_Size__C1_Util_DX_Size2L">explicit operator Size2L(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> to <a class="xref" href="C1.Util.DX.Size2L.html">Size2L</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Size2L_op_Inequality_C1_Util_DX_Size2L_C1_Util_DX_Size2L_" data-uid="C1.Util.DX.Size2L.op_Inequality(C1.Util.DX.Size2L,C1.Util.DX.Size2L)">
          <a class="xref" href="C1.Util.DX.Size2L.op_Inequality.html#C1_Util_DX_Size2L_op_Inequality_C1_Util_DX_Size2L_C1_Util_DX_Size2L_">operator !=(Size2L, Size2L)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the specified Size2L objects are not equal.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
