ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / PointLogicalToDevice 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
    PointLogicalToDevice Method
    In This Topic
    converts logical coordinates into device 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 PointLogicalToDevice( _
       ByVal logicalPoints() As Point _
    ) As Point()
    public Point[] PointLogicalToDevice( 
       Point[] logicalPoints
    )

    Parameters

    logicalPoints
    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 Device 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