Click or drag to resize

PdfViewerPageToClient Method

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

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

Parameters

pageIndex  Int32
Page index. Can be obtained by PointInPage(Point) method.
pt  PointF
The page coordinate Point to convert.

Return Value

Point
A Point that represents the converted Point, pt, in client 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