IPrxCellStyle.IsDefault

Syntax

IsDefault: Boolean;

Description

The IsDefault property determines whether style value is used by default.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

Prop: IPrxDataIslandProperties;

Style1: IPrxCellStyle;

Begin

MB := MetabaseClass.Active;

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

Report := MObj As IPrxReport;

DIs := Report.DataIslands;

DI := DIs.Item(0);

Prop := DI.Properties;

Style1 := Prop.TopHeader.Style;

Style1.IsDefault := True;

MObj.Save;

End Sub Main;

After executing the example style of data area columns is set by default.

See also:

IPrxCellStyle