VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Pdf.UI Namespace / PdfVisualTool Class / PointFromPageSpaceToViewerSpace(PointF,VintasoftImage) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
PointFromPageSpaceToViewerSpace(PointF,VintasoftImage) Method (PdfVisualTool)
In This Topic
Converts point from the PDF page's coordinate space to the image viewer's coordinate space.
Syntax
'Declaration

Public Function PointFromPageSpaceToViewerSpace( _
ByVal point
Point, in the PDF page's coordinate space, to convert.
As System.Drawing.PointF, _
ByVal image
The image.
As Vintasoft.Imaging.VintasoftImage _
) As System.Drawing.PointF
public System.Drawing.PointF PointFromPageSpaceToViewerSpace(
System.Drawing.PointF point,
Vintasoft.Imaging.VintasoftImage image
)

Parameters

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

Return Value

The System.Drawing.PointF in the image viewer's coordinate space.
Exceptions
ExceptionDescription
Thrown if focused image is not a PDF page.
Requirements

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

See Also