VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Wpf.UI Namespace / WpfPdfVisualTool Class / PointFromViewerSpaceToPageSpace(Point,VintasoftImage) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointFromViewerSpaceToPageSpace(Point,VintasoftImage) Method (WpfPdfVisualTool)
    In This Topic
    Converts point from the image viewer's coordinate space to the PDF page's coordinate space.
    Syntax
    'Declaration
    
    Public Function PointFromViewerSpaceToPageSpace( _
    ByVal point
    Point, in the image viewer's coordinate space, to convert.
    As System.Windows.Point, _
    ByVal image
    The image.
    As Vintasoft.Imaging.VintasoftImage _
    ) As System.Windows.Point
    public System.Windows.Point PointFromViewerSpaceToPageSpace(
    System.Windows.Point point,
    Vintasoft.Imaging.VintasoftImage image
    )
    public: System.Windows.Point PointFromViewerSpaceToPageSpace(
    System.Windows.Point point,
    Vintasoft.Imaging.VintasoftImage* image
    )
    public:
    System.Windows.Point PointFromViewerSpaceToPageSpace(
    System.Windows.Point point,
    Vintasoft.Imaging.VintasoftImage^ image
    )

    Parameters

    point
    Point, in the image viewer's coordinate space, to convert.
    image
    The image.

    Return Value

    The System.Windows.Point, in the PDF page's coordinate space.
    Exceptions
    ExceptionDescription
    Thrown if focused image is not a PDF page.
    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