Converts client coordinates to a point in DocEngine's page, in Src.Drawel.s_units.

Namespace:  C1.Win.C1PrintPreview
Assembly:  C1.Win.C1PrintPreview.Classic.2 (in C1.Win.C1PrintPreview.Classic.2.dll)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public PointF ClientToDocumentPage(
	Point p,
	out IPage renderPage,
	out int pageIdx
)
Visual Basic (Declaration)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public Function ClientToDocumentPage ( _
	p As Point, _
	<OutAttribute> ByRef renderPage As IPage, _
	<OutAttribute> ByRef pageIdx As Integer _
) As PointF

Parameters

p
Type: System.Drawing..::.Point
Client point to convert
renderPage
Type: IPage%
Output, render page under point
pageIdx
Type: System..::.Int32%
Output, 0-based page index

Return Value

PointF with converted coordinates or PointF.Empty

See Also