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,
	out int row,
	out int col
)
Visual Basic (Declaration)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public Function PageIdxAtPoint ( _
	x As Integer, _
	y As Integer, _
	<OutAttribute> ByRef row As Integer, _
	<OutAttribute> ByRef col As Integer _
) As Integer

Parameters

x
Type: System..::.Int32
The X coordinate
y
Type: System..::.Int32
The Y coordinate
row
Type: System..::.Int32%
Output, contains the 0-based row of the page in the preview window
col
Type: System..::.Int32%
Output, contains the 0-based column of the page in the preview window

Return Value

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

See Also