ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Coordinate Class / Implicit Type Conversion Operator / Implicit Type Conversion(Coordinate,Point) Operator
A System.Drawing.Point value that will be convert to a Coordinate object.

In This Topic
    Implicit Type Conversion(Coordinate,Point) Operator
    In This Topic
    Implicit convert a Point value to a Coordinate object.
    Syntax
    'Declaration
     
    
    Overloads Public Operator Widening CType( _
       ByVal value As Point _
    ) As Coordinate
    public Coordinate operator implicit( 
       Point value
    )

    Parameters

    value
    A System.Drawing.Point value that will be convert to a Coordinate object.

    Return Value

    A Coordinate object indicates the converted object.
    Remarks
    The reason of providing implict converting is that Point and Coordinate is same conception in drawing.
    Requirements

    Target Platforms: Windows 7, 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