Table of Contents

Method GetPageIndexAtPoint

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

GetPageIndexAtPoint(Point)

Finds page at specified screen position.

public virtual int GetPageIndexAtPoint(Point position)

Parameters

position Point

Position in screen coordinates to obtain the page.

Returns

int

Ordinal number of found page within the collection.

GetPageIndexAtPoint(int, int)

Finds page at specified screen position.

public virtual int GetPageIndexAtPoint(int x, int y)

Parameters

x int

X-coordinate of the position (in screen coordinates) to find the page.

y int

Y-coordinate of the position (in screen coordinates) to find the page.

Returns

int

Ordinal number of found page within the collection.