IPrxDataIslandNaming.Style

Syntax

Style: IPrxCellStyle;

Description

The Style property returns an object containing styles of cells with element names.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

DimModel: IDimensionModel;

Prop: IPrxDataIslandProperties;

PropDim: IPrxDataIslandDimension;

Naming: IPrxDataIslandNaming;

Style: IPrxCellStyle;

Begin

MB := MetabaseClass.Active;

Report := MB.ItemById("Report").Bind As IPrxReport;

DIs := Report.DataIslands;

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

    DimModel := DI.Slice.TopHeader.Item(0).Dimension.Dimension;

    Prop := DI.Properties;

    PropDim := Prop.Dimension(DimModel);

    Naming := PropDim.Naming;

    Style := Naming.Style;

DI.Save;

End Sub Main;

After executing the example the Style variable contains formatting of cells with dimension names.

See also:

IPrxDataIslandNaming