| GetParAtXY method |
Applies to
TWPRTFEnginePaint
Declaration
function GetParAtXY(X, Y: Integer; var par: TParagraph; var posinpar: Integer; XNotImportant: Boolean = FALSE; FindNextPage: Boolean = FALSE): Boolean;
Description
Locates the paragraph and the posinpar at a certain screen position. Retruns TRUE if a paragraph was found. If parameter XNotImportant = TRUE then the paragraph will be also found if the X position is out of the margin. If FindNextPage = true this function will locate the first paragraph on the next page if the y value is too high.
|
Copyright (C) by WP |