Finds the page at the specified point in the pane window.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public int PageIdxAtPoint(
	int x,
	int y
)
Visual Basic (Declaration)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public Function PageIdxAtPoint ( _
	x As Integer, _
	y As Integer _
) As Integer

Parameters

x
Type: System..::.Int32
The X coordinate
y
Type: System..::.Int32
The Y coordinate

Return Value

0-based page index or -1 if no page has been found

See Also