Function TParagraph.globalNextPar : TParagraph

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Returns

The type of the result value is TParagraph.

Description

This function returns a reference to the next paragraph in this text or to the first paragraph of the following RTFDataBlock in the same RTFDataCollection. You can use it in a loop started with par:=RTFData.FirstPar; In contrast to it will only find top level paragraphs, not children paragraphs.