WPTools Manual



Search


(press enter to search)

Function TWPRTFEngineEdit.GetXYPositionAtRTF(aRTFData:TWPRTFDataBlock; par:TParagraph; pos_in_par:Integer; PaintPageNr:Integer; X:Integer; Y:Integer; Mode:TWPGetXYPositionAtRTFModes) : Boolean

Unit: WPRTEEdit
Class: WPRTEEdit.TWPRTFEngineEdit

Parameters

Returns

The type of the result value is 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!