Enable3D: Boolean;
Enable3D: boolean;
The Enable3D property determines whether a map is shown in 3D mode.
Available Values:
True. Map is shown in 3D mode.
False. Map is shown in 2D mode.
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.
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: