IPrxDataIslandHeader.Style

Syntax

Style: IPrxCellStyle;

Description

The Style property determines formatting of headings.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

Prop: IPrxDataIslandProperties;

THead: IPrxDataIslandHeader;

TStyle: IPrxCellStyle;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("Report").Edit;

Report := MObj As IPrxReport;

DIs := Report.DataIslands;

DI := DIs.Item(0).Edit;

    Prop := DI.Properties;

    THead := Prop.TopHeader;

    TStyle := THead.Style;

    TStyle.Font.Size := 16;

DI.Save;

MObj.Save;

End Sub Main;

After executing the example, font size is set to 16 for headings of columns of the first data area of the regular report. The identifier of the regular report - Report.

See also:

IPrxDataIslandHeader