VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / PointFromVisualToolToDip(Point) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
PointFromVisualToolToDip(Point) Method (WpfImageViewer)
In This Topic
Transforms point from the visual tool coordinate space to the device-independent pixels (1/96th inch).
Syntax
'Declaration

Public Function PointFromVisualToolToDip( _
ByVal pt
Point in the device-independent pixels (1/96th inch).
As System.Windows.Point _
) As System.Windows.Point
public System.Windows.Point PointFromVisualToolToDip(
System.Windows.Point pt
)

Parameters

pt
Point in the device-independent pixels (1/96th inch).

Return Value

Point in the visual tool coordinate space.
Exceptions
ExceptionDescription
Thrown if viewer does not contain image.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also