Click or drag to resize

PdfViewerClientToPage Method

Computes the location of the specified client point into page coordinates.

Namespace:  Patagames.Pdf.Net.Controls.WinForms
Assembly:  Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.57.2704
Syntax
public PointF ClientToPage(
	int pageIndex,
	Point pt
)

Parameters

pageIndex
Type: SystemInt32
Page index. Can be obtained by PointInPage(Point) method.
pt
Type: System.DrawingPoint
The client coordinate Point to convert.

Return Value

Type: PointF
A Point that represents the converted Point, pt, in page coordinates.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThe page index is out of range
Remarks
Permitted range of pages depends on the current view type and on some other parameters in the control.
See Also