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 () As Point _
) As Point()
public Point[] PointDeviceToLogical(
Point[]
)
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
Exception | Description |
System.ArgumentException | The exception that is thrown when one of the arguments provided to a method is not valid. |
C1.Framework.SystemErrorException | Defines an exception class to handle the system error. |
See Also