Function TWPVirtPage.FindRTFDataXY(x:Integer; Y:Integer) : TWPVirtPageRTFDataFrame

Unit: WPRTEDefs
Class: WPRTEDefs.TWPVirtPage

Parameters

  • x:Integer
  • Y:Integer

Returns

The type of the result value is TWPVirtPageRTFDataFrame.

Description

Searches for the RTFData object which is used at this position. This only works for header and footer texts. If the text is found the start position is subtracted from the x and y values so the x and y values can be used right away to search using RTFDataBlock.Pages[0].FindLineXY ! Returns TWPVirtPageRTFDataFrame is found.