Property TWPRTFDataBlock.FirstPar : TParagraph

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataBlock

Description

This property provides you with a reference to the first paragraph of the text. If the document is var par : TParagraph; if not WPRichText1.ActiveText.Empty then begin par := WPRichText1.ActiveText.FirstPar; while parnil do begin par := par.next; end; end;