IEaxDataAreaSlice.Views

Syntax

Views: IEaxDataAreaViews;

Description

The Views property returns collection of analytical data area slice views.

Comments

To get properties of analytical data area slice, use IEaxDataAreaSlice.Properties.

Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier containing table.

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
    // Get data slice
    Slice := Express.DataArea.Slices.Item(0);
    // Display to the console number of slice views
    Debug.WriteLine("Number of views = " + Slice.Views.Count.ToString);
End Sub UserProc;

After executing the example the console displays number of analytical data area slice views.

See also:

IEaxDataAreaSlice