Click or drag to resize

ViewportPointFromImage Method

Converts a Point from image space into client 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 PointFromImage(
	Point imagePoint
)

Parameters

imagePoint
Type: System.DrawingPoint
The image pixel location to convert.

Return Value

Type: Point
The point in client space for the specified pixel.
Remarks
This method performs a simple calculation and does not perform any checks to ensure the Point provided is a valid image pixel location.
See Also