TSRichViewEdit.GetPageAt

<< Click to display table of contents >>

TSRichViewEdit.GetPageAt

Returns the page at the specified coordinates.

function GetPageAt(X, Y: Integer; var PageNo: Integer) : Boolean;

Input parameters:

X, Y – client coordinates (relative to the top left corner of TSRichViewEdit component's window)

Output parameter:

PageNo – index of page, from 1. Valid only if the method returns True.

Return value:

True if the position is inside a page.