Function TWPSuperMerge.AddBand(style:TWPMrgStyle; PlusParagraph:Boolean; InsideGroup:TThreeState) : TParagraph

Unit: WPRTEReport
Class: WPRTEReport.TWPSuperMerge

Parameters

Returns

The type of the result value is TParagraph.

Description

Inserts a new band under the current paragraph. The paragraph is not splitted! If the paragraph is a table cell the tabel will be split into two parts and the band will be created within the two parts. If a group is created the the text from global variable WPDefaultGroupDataText will be inserted unless WPDefaultGroupDataText = '>empty<'
Optionally an empty paragraph is appended after (or inside with groups). Bands can also be created inside or after the current group.