Function TWPRTFEngineEdit.RTFDataOffset(RTFPageNr:Integer; DataBlock:TWPRTFDataBlock; Off:TPoint; Move:Boolean) : Boolean

Unit: WPRTEEdit
Class: WPRTEEdit.TWPRTFEngineEdit

Parameters

Returns

The type of the result value is Boolean.

Description

This function calculates the offset the given RTFDatablock uses on the given page. It fills a TPoint record with the RTF coordinates and returns TRUE if the data block was found. Optionally the coordinates can also be modified to the 'Off' values if the optional parameter 'Move' was set to TRUE. This functionality is only used internally.