Table of Contents

Method GetPageIndexAt

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

GetPageIndexAt(Point)

Finds page at specified display position.

public virtual int GetPageIndexAt(Point position)

Parameters

position Point

Position in display coordinates to obtain the page.

Returns

int

Ordinal number of found page within the collection.

GetPageIndexAt(int, int)

Finds page at specified display position.

public virtual int GetPageIndexAt(int x, int y)

Parameters

x int

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

y int

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

Returns

int

Ordinal number of found page within the collection.