DisplayCanvasTranslatePointToImage Method (Point, PixelCoordinateSystem)

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,
	PixelCoordinateSystem correction
)

Parameters

point
Type: System.WindowsPoint
Point as relative to this panel.
correction
Type: Stemmer.Cvb.Wpf.ControlsPixelCoordinateSystem
Coordinate type for correction. By default, a pixel coordinate is considered to be in the left top corner (parameter value LeftTop). With Barycentric correction it may be shifted to the center, which is sometimes useful.

Return Value

Type: Point
Translated coordinate.
See Also

Reference