ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / PointDeviceToLogical Method
An array of System.Drawing.Point structures. The x- and y-coordinates contained in each System.Drawing.Point structure will be transformed.

In This Topic
    PointDeviceToLogical Method (DeviceContext)
    In This Topic
    converts device coordinates into logical coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation.
    Syntax
    'Declaration
     
    
    Public Function PointDeviceToLogical( _
       ByVal devicePoints() As Point _
    ) As Point()
    public Point[] PointDeviceToLogical( 
       Point[] devicePoints
    )

    Parameters

    devicePoints
    An array of System.Drawing.Point structures. The x- and y-coordinates contained in each System.Drawing.Point structure will be transformed.

    Return Value

    An array of System.Drawing.Point structures indicate the point which is converted to Logical coordinates
    Exceptions
    ExceptionDescription
    The exception that is thrown when one of the arguments provided to a method is not valid.
    Defines an exception class to handle the system error.
    See Also