| GetXYPositionAtRTF method |
Applies to
TWPRTFEnginePaint
Declaration
function GetXYPositionAtRTF(aRTFData: TWPRTFDataBlock; par: TParagraph; pos_in_par: Integer; var PaintPageNr, X, Y: Integer; Mode: TWPGetXYPositionAtRTFModes = []): Boolean;
Description
This function locates the page and stores the X,Y position of the given text positon in screen coordinates. The scroll offsets (LeftOffset and TopOffset) are also included in this value if the Mode [wpCalcScrolling] was used!
|
Copyright (C) by WP |