Click or drag to resize

AtalaImageViewerPointToImage Method

This method returns the image pixel position at the specified viewer coordinate.

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

Parameters

clientPoint
Type: System.WindowsPoint
The viewer coordinate to convert.

Return Value

Type: Point
The image pixel at the specified coordinate.
Remarks
This method performs a simple conversion of the point and does not validate the position. This could result in return values that are outside of the image area.
See Also