VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI Namespace / WpfAnnotationViewer Class / PointFromViewerToDip(Point) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointFromViewerToDip(Point) Method (WpfAnnotationViewer)
    In This Topic
    Transforms point from the viewer space to the DIP space.
    Syntax
    'Declaration
    
    Public Function PointFromViewerToDip( _
    ByVal pt
    The point in viewer space.
    As System.Windows.Point _
    ) As System.Windows.Point
    public System.Windows.Point PointFromViewerToDip(
    System.Windows.Point pt
    )
    public: System.Windows.Point PointFromViewerToDip(
    System.Windows.Point pt
    )
    public:
    System.Windows.Point PointFromViewerToDip(
    System.Windows.Point pt
    )

    Parameters

    pt
    The point in viewer space.

    Return Value

    Point in DIP space.
    Exceptions
    ExceptionDescription
    Thrown if viewer does not contain image.
    Requirements

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

    See Also