Click or drag to resize

AtalaImageViewerPointFromImage Method

This method converts an image pixel position to viewer coordinate space.

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 PointFromImage(
	Point imagePoint
)

Parameters

imagePoint
Type: System.WindowsPoint
The image pixel to convert.

Return Value

Type: Point
A point containing the viewer position.
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 viewable area.
See Also