Click or drag to resize

ViewportPointToImage Method

Converts a Point in client space to image space.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public Point PointToImage(
	Point clientPoint
)

Parameters

clientPoint
Type: System.DrawingPoint
The point in client space to convert.

Return Value

Type: Point
The image pixel located at the client position.
Remarks
This method performs a simple calculation and does not perform any checks to ensure the Point returned is a valid image pixel location.
See Also