IPrxDataIslandDimension.DataIslandProperties

Syntax

DataIslandProperties: IPrxDataIslandProperties;

Description

The DataIslandProperties property determines data area formatting parameters.

Example

Sub main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

Prop: IPrxDataIslandProperties;

Dim : IDimInstance;

DimProp : IPrxDataIslandDimension;

LeftH : 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;

    Dim := DI.Slice.LeftHeader.Item(0).Dimension;

    DimProp := Prop.Dimension(Dim.Dimension);

    LeftH := DimProp.DataIslandProperties.LeftHeader;

    TStyle := LeftH.Style;

    TStyle.BackgroundColor := New GxColor.CreateRGB(255,0,0);

    TStyle.Font.Size := 11;

    TStyle.Font.Italic := TriState.OnOption;

DI.Save;

MObj.Save;

End Sub main;

After executing the example the specified font and background color settings are applied to row headings.

See also:

IPrxDataIslandDimension