Show contents 

Report > Report Assembly Interfaces > IPrxSliceDimension > IPrxSliceDimension.Dimensions

IPrxSliceDimension.Dimensions

Syntax

Dimensions: IPrxSliceDimensions;

Description

The Dimensions property returns parent object.

Example

Sub UserProc;
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 UserProc;

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