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

    Parameters

    pt
    The point in DIP space.

    Return Value

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

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

    See Also