ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / 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
    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 System.Drawing.Point _
    ) As System.Drawing.Point()
    public System.Drawing.Point[] PointDeviceToLogical( 
       System.Drawing.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