TSRichViewEdit.FindPriorHeading |
Top Previous Next |
|
Finds the location of the next heading. function FindPriorHeading(var RVData: TCustomRVData; var ItemNo: Integer): Boolean; The search can be limited to the specified range of coordinates, see RangeSearch. Heading is a paragraph with OutlineLevel property > 0. Input parameters: RVData, ItemNo – starting position for the search. The search starts from the previous item. RVData is a document (RichViewEdit.RVData, table cell, or cell inplace editor's RVData; if the cell is edited, it must be an inplace editor's RVData), ItemNo is an index of item in this document. Output parameters: RVData, ItemNo – position of the found item. Valid only if the method returns True. Return value: True if found. See also: |