IEaxDataAreaSlice.Views

Fore Syntax

Views: IEaxDataAreaViews;

Fore.NET Syntax

Views: Prognoz.Platform.Interop.Express.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.

Fore 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.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.

Imports Prognoz.Platform.Interop.Express;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
Begin
    // Get repository
    MB := Params.Metabase;
    // 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
    System.Diagnostics.Debug.WriteLine("Number of views = " + Slice.Views.Count.ToString());
End Sub;

See also:

IEaxDataAreaSlice