Report > Report Assembly Interfaces > IPrxTableIslandGrouping > IPrxTableIslandGrouping.Style
Style : IPrxCellStyle;
The Style property determines formatting parameters for a group.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
TabIs: IPrxTableIslands;
TI: IPrxTableIsland;
Grs: IPrxTableIslandGroupings;
Gr: IPrxTableIslandGrouping;
Style: IPrxCellStyle;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("REPORT").Edit;
Report := MObj As IPrxReport;
TabIs := Report.TableIslands;
TI := TabIs.Item(0);
TI := Ti.Edit;
Grs := TI.Groupings;
Gr := Grs.Item(0);
Style := Gr.Style;
Style.BackgroundColor := New GxColor.CreateRGB(250, 0, 0);
Style.Font.Bold := TriState.OnOption;
TI.Save;
MObj.Save;
End Sub UserProc;
After executing the example formatting parameters are set up for the group. Report - identifier of the regular report, which sheet contains a relational data area, for which the group has been created.
See also: