Merge: Boolean;
The Merge property determines whether the table corner is to be merged. The property value should be set to True if you want to merge the corner.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
DIs: IPrxDataIslands;
DI: IPrxDataIsland;
Prop: IPrxDataIslandProperties;
Corner: IPrxDataIslandCorner;
Style: IPrxCellStyle;
s: String;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
DIs := Report.DataIslands;
DI := DIs.Item(0);
Prop := DI.Properties;
Corner := Prop.Corner;
If Corner.Merge Then
s := "Merge";
Else
s := "Don.t Merge";
End If;
End Sub Main;
After executing the example the "s" variable contains Merge if merging is set for the corner cell of the table of the first data area of the regular report. The identifier of the regular report - Report.
See also: