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.4.0.9.0.377 (.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