WPTools Manual



Search


(press enter to search)

Function TWPRTFDataCollectionBase.FirstPar : TParagraph

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCollectionBase

Returns

The type of the result value is TParagraph.

Description

This function returns a pointer to the first of all text elements. You can use it to build a loop over ALL paragraphs in a text. To do so use par:=par.globalnext instead of par:=par.next to get a pointer to the next TParagraph