Express > Express Assembly Interfaces > IEaxDataAreaSlice > IEaxDataAreaSlice.Views
Views: IEaxDataAreaViews;
The Views property returns the collection of analytical data area slice views.
To get properties of analytical data area slice, use IEaxDataAreaSlice.Properties.
Executing the example requires that the repository contains an express report with the EXPRESS identifier containing a 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 the number of slice views in the console window
Debug.WriteLine("Number of views = " + Slice.Views.Count.ToString);
End Sub UserProc;
After executing the example the console window displays the number of analytical data area slice views.
See also: