Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / Point Structure / Point Constructor
The Point's x coordinate.
The Point's y coordinate.


In This Topic
    Point Constructor
    In This Topic
    Creates a new Point object from x & y coordinates.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As Integer, _
       ByVal y As Integer _
    )
    'Usage
     
    Dim x As Integer
    Dim y As Integer
     
    Dim instance As New Point(x, y)
    public Point( 
       int x,
       int y
    )

    Parameters

    x
    The Point's x coordinate.
    y
    The Point's y coordinate.
    Remarks

    In .NET5+, this will create a SKPoint.

    In .NET Framework, this will create a System.Drawing.Point.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also