Function TWPRTFDataBlock.InsertPar(BeforePar:TParagraph; ParType:TWPParagraphType) : TParagraph

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataBlock

Parameters

Returns

The type of the result value is TParagraph.

Description

Inserts a paragraph at a given position. If BeforePar=nil the paragraph will be appended to the end of the text, otherwise the paragraph will be inserted before the paragraph. Please use InsertParEx instead.