IEaxMap.Enable3D

Fore Syntax

Enable3D: Boolean;

Fore.NET Syntax

Enable3D: boolean;

Description

The Enable3D property determines whether a map is shown in 3D mode.

Comments

Available Values:

Fore Example

Executing the example requires that the repository contains an express report with the OLAP identifier. The report should contain a map.

Add links to the Express and Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EMap: IEaxMap;
Begin
    MB := MetabaseClass.Active;
    // Get express report
    MObj := MB.ItemById("OLAP").Edit;
    Expr := MObj As IEaxAnalyzer;
    // Get map
    EMap := Expr.Map;
    // Enable 3D mode
    EMap.Enable3D := True;
    // Save changes
    MObj.Save;
End Sub UserProc;

Example execution result: 3D mode is enabled for the express report map.

Fore.NET Example

The requirements and result of Fore.NET Example execution are the same as in the Fore Example.

Imports Prognoz.Platform.Interop.Express;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EMap: IEaxMap;
Begin
    MB := Params.Metabase;
    // Get express report
    MObj := MB.ItemById["OLAP"].Edit();
    Expr := MObj As IEaxAnalyzer;
    // Get map
    EMap := Expr.Map;
    // Enable 3D mode
    EMap.Enable3D := True;
    // Save changes
    MObj.Save();
End Sub;

See also:

IEaxMap