IPrxSliceDimension.Dimensions

Syntax

Dimensions: IPrxSliceDimensions;

Description

The Dimensions property returns parent object.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

Contr: IPrxControl;

Dimens: IPrxSliceDimensions;

i: Integer;

Begin

MB := MetabaseClass.Active;

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

Contr := Report.Controls.Item(0);

Dimens := Contr.Dimension.Dimensions;

i := Dimens.Count;

End Sub Main;

After executing the example the "i" variable contains the number of dimensions of the slice that includes the dimension controlled by the first control.

See also:

IPrxSliceDimension