DisplayCanvasTranslatePointToImage Method (Point, CoordinateSystemType)

CVB.Net Documentation
Translates a point relative to this panel to coordinates that are relative to the ImageSource content pixels.

Namespace:  Stemmer.Cvb.Wpf.Controls
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public Point TranslatePointToImage(
	Point point,
	CoordinateSystemType coordinateType
)

Parameters

point
Type: System.WindowsPoint
Point as relative to this panel.
coordinateType
Type: Stemmer.CvbCoordinateSystemType
Defines whether the image coordinate system is incorporated in the calculation.

Return Value

Type: Point
Translated point value relative to the image source pixels.
Remarks

Dependent on the ActualZoomFactor and the image coordinate system the translated coordinates may contain fractions.
See Also

Reference