# C1.Win.Interop.Point

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Interop_Point" data-uid="C1.Win.Interop.Point" class="text-break">Point Struct
</h1>
  <div class="markdown level0 summary"><p>Represents an ordered pair of <b>double</b> X and Y coordinates that defines a point
in a two-dimensional plane.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Interop.html">C1.Win.Interop</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Interop_Point_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Point</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Point</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_Win_Interop_Point__ctor_System_Double_System_Double_" data-uid="C1.Win.Interop.Point.#ctor(System.Double,System.Double)">
          <a class="xref" href="C1.Win.Interop.Point.-ctor.html#C1_Win_Interop_Point__ctor_System_Double_System_Double_">Point(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Interop.Point.html">Point</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_Win_Interop_Point_Empty" data-uid="C1.Win.Interop.Point.Empty">
          <a class="xref" href="C1.Win.Interop.Point.Empty.html#C1_Win_Interop_Point_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents an empty instance of the <a class="xref" href="C1.Win.Interop.Point.html">Point</a> structure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_IsEmpty" data-uid="C1.Win.Interop.Point.IsEmpty">
          <a class="xref" href="C1.Win.Interop.Point.IsEmpty.html#C1_Win_Interop_Point_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the current <a class="xref" href="C1.Win.Interop.Point.html">Point</a> is empty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_X" data-uid="C1.Win.Interop.Point.X">
          <a class="xref" href="C1.Win.Interop.Point.X.html#C1_Win_Interop_Point_X">X</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the X coordinate of the current <a class="xref" href="C1.Win.Interop.Point.html">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_Y" data-uid="C1.Win.Interop.Point.Y">
          <a class="xref" href="C1.Win.Interop.Point.Y.html#C1_Win_Interop_Point_Y">Y</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Y coordinate of the current <a class="xref" href="C1.Win.Interop.Point.html">Point</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_Win_Interop_Point_Add_C1_Win_Interop_Point_C1_Win_Interop_Size_" data-uid="C1.Win.Interop.Point.Add(C1.Win.Interop.Point,C1.Win.Interop.Size)">
          <a class="xref" href="C1.Win.Interop.Point.Add.html#C1_Win_Interop_Point_Add_C1_Win_Interop_Point_C1_Win_Interop_Size_">Add(Point, Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.Win.Interop.Size.html">Size</a> to a <a class="xref" href="C1.Win.Interop.Point.html">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_Ceiling" data-uid="C1.Win.Interop.Point.Ceiling">
          <a class="xref" href="C1.Win.Interop.Point.Ceiling.html#C1_Win_Interop_Point_Ceiling">Ceiling()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the current <a class="xref" href="C1.Win.Interop.Point.html">Point</a> structure to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> by rounding the
<b>double</b> coordinates to the next higher integer values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_Equals_System_Object_" data-uid="C1.Win.Interop.Point.Equals(System.Object)">
          <a class="xref" href="C1.Win.Interop.Point.Equals.html#C1_Win_Interop_Point_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_Win_Interop_Point_GetHashCode" data-uid="C1.Win.Interop.Point.GetHashCode">
          <a class="xref" href="C1.Win.Interop.Point.GetHashCode.html#C1_Win_Interop_Point_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_Offset_System_Double_System_Double_" data-uid="C1.Win.Interop.Point.Offset(System.Double,System.Double)">
          <a class="xref" href="C1.Win.Interop.Point.Offset.html#C1_Win_Interop_Point_Offset_System_Double_System_Double_">Offset(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Offsets the current <a class="xref" href="C1.Win.Interop.Point.html">Point</a> structure by the specified values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_Substract_C1_Win_Interop_Point_C1_Win_Interop_Size_" data-uid="C1.Win.Interop.Point.Substract(C1.Win.Interop.Point,C1.Win.Interop.Size)">
          <a class="xref" href="C1.Win.Interop.Point.Substract.html#C1_Win_Interop_Point_Substract_C1_Win_Interop_Point_C1_Win_Interop_Size_">Substract(Point, Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Subtracts a <a class="xref" href="C1.Win.Interop.Size.html">Size</a> from a <a class="xref" href="C1.Win.Interop.Point.html">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_ToPointF" data-uid="C1.Win.Interop.Point.ToPointF">
          <a class="xref" href="C1.Win.Interop.Point.ToPointF.html#C1_Win_Interop_Point_ToPointF">ToPointF()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the current <a class="xref" href="C1.Win.Interop.Point.html">Point</a> structure to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.pointf">PointF</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_ToString" data-uid="C1.Win.Interop.Point.ToString">
          <a class="xref" href="C1.Win.Interop.Point.ToString.html#C1_Win_Interop_Point_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the current <a class="xref" href="C1.Win.Interop.Point.html">Point</a> to a human readable string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_Truncate" data-uid="C1.Win.Interop.Point.Truncate">
          <a class="xref" href="C1.Win.Interop.Point.Truncate.html#C1_Win_Interop_Point_Truncate">Truncate()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the current <a class="xref" href="C1.Win.Interop.Point.html">Point</a> structure to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> by truncating
the values of the Point 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_Win_Interop_Point_op_Addition_C1_Win_Interop_Point_C1_Win_Interop_Size_" data-uid="C1.Win.Interop.Point.op_Addition(C1.Win.Interop.Point,C1.Win.Interop.Size)">
          <a class="xref" href="C1.Win.Interop.Point.op_Addition.html#C1_Win_Interop_Point_op_Addition_C1_Win_Interop_Point_C1_Win_Interop_Size_">operator +(Point, Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.Win.Interop.Size.html">Size</a> to a <a class="xref" href="C1.Win.Interop.Point.html">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_op_Equality_C1_Win_Interop_Point_C1_Win_Interop_Point_" data-uid="C1.Win.Interop.Point.op_Equality(C1.Win.Interop.Point,C1.Win.Interop.Point)">
          <a class="xref" href="C1.Win.Interop.Point.op_Equality.html#C1_Win_Interop_Point_op_Equality_C1_Win_Interop_Point_C1_Win_Interop_Point_">operator ==(Point, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether two <a class="xref" href="C1.Win.Interop.Point.html">Point</a> structures are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_op_Explicit_C1_Win_Interop_Point__C1_Win_Interop_Size" data-uid="C1.Win.Interop.Point.op_Explicit(C1.Win.Interop.Point)~C1.Win.Interop.Size">
          <a class="xref" href="C1.Win.Interop.Point.op_Explicit.html#C1_Win_Interop_Point_op_Explicit_C1_Win_Interop_Point__C1_Win_Interop_Size">explicit operator Size(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="C1.Win.Interop.Point.html">Point</a> to a <a class="xref" href="C1.Win.Interop.Size.html">Size</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_op_Implicit_System_Drawing_Point__C1_Win_Interop_Point" data-uid="C1.Win.Interop.Point.op_Implicit(System.Drawing.Point)~C1.Win.Interop.Point">
          <a class="xref" href="C1.Win.Interop.Point.op_Implicit.html#C1_Win_Interop_Point_op_Implicit_System_Drawing_Point__C1_Win_Interop_Point">implicit operator Point(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> to a <a class="xref" href="C1.Win.Interop.Point.html">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_op_Implicit_System_Drawing_PointF__C1_Win_Interop_Point" data-uid="C1.Win.Interop.Point.op_Implicit(System.Drawing.PointF)~C1.Win.Interop.Point">
          <a class="xref" href="C1.Win.Interop.Point.op_Implicit.html#C1_Win_Interop_Point_op_Implicit_System_Drawing_PointF__C1_Win_Interop_Point">implicit operator Point(PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.pointf">PointF</a> to a <a class="xref" href="C1.Win.Interop.Point.html">Point</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_op_Inequality_C1_Win_Interop_Point_C1_Win_Interop_Point_" data-uid="C1.Win.Interop.Point.op_Inequality(C1.Win.Interop.Point,C1.Win.Interop.Point)">
          <a class="xref" href="C1.Win.Interop.Point.op_Inequality.html#C1_Win_Interop_Point_op_Inequality_C1_Win_Interop_Point_C1_Win_Interop_Point_">operator !=(Point, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether two <a class="xref" href="C1.Win.Interop.Point.html">Point</a> structures are not equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Point_op_Subtraction_C1_Win_Interop_Point_C1_Win_Interop_Size_" data-uid="C1.Win.Interop.Point.op_Subtraction(C1.Win.Interop.Point,C1.Win.Interop.Size)">
          <a class="xref" href="C1.Win.Interop.Point.op_Subtraction.html#C1_Win_Interop_Point_op_Subtraction_C1_Win_Interop_Point_C1_Win_Interop_Size_">operator -(Point, Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Subtracts a <a class="xref" href="C1.Win.Interop.Size.html">Size</a> from a <a class="xref" href="C1.Win.Interop.Point.html">Point</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
