PointFromDipToControl(Point) Method (WpfImageViewer)
Transforms point from the device-independent pixels (1/96th inch) to the viewer coordinate space.
public System.Windows.Point PointFromDipToControl(
System.Windows.Point
)
public: System.Windows.Point PointFromDipToControl(
System.Windows.Point
)
public:
System.Windows.Point PointFromDipToControl(
System.Windows.Point
)
'Declaration
Public Function PointFromDipToControl( _
ByVal As System.Windows.Point _
) As System.Windows.Point
Parameters
- pt
- Point in the device-independent pixels (1/96th inch) space.
Return Value
Point in the viewer coordinate space.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5