View3D: Boolean;
View3D: System.Boolean;
The View3D property determines tree map visualization mode.
Available values:
True. The component is displayed in the 3D mode.
False. The component is displayed in the 2D mode.
Executing the example requires a form containing the following components:
EaxDocumentViewerBox with the EaxDocumentViewerBox1 identifier.
UiErAnalyzer with the UiErAnalyzer1 identifier, that is a data source for EaxDocumentViewerBox1.
executing the example also requires an express report containing a tree map. The express report must be a data source for UiErAnalyzer1.
Sub UserProc;
Var
EaxAnalyzer: IEaxAnalyzer;
Treemap: IVZTreeMap;
Begin
// Get express report
EaxAnalyzer := UiErAnalyzer1.ErAnalyzer;
// Get tree map
TreeMap := EaxAnalyzer.TreeMap.TreeMap;
// Change tree map visualization mode to 3D
TreeMap.View3D := True;
Treemap.RenderMode := VisualizatorTreeMapRenderMode.RM3D;
End Sub UserProc;
After executing the example, tree map visualization mode is changed from 2D to 3D.
The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.
Public Sub UserProc();
Var
EaxAnalyzer: IEaxAnalyzer;
Treemap: IVZTreeMap;
Begin
// Get express report
EaxAnalyzer := UiErAnalyzerNet1.ErAnalyzer.ErAnalyzer;
// Get tree map
TreeMap := EaxAnalyzer.TreeMap.TreeMap;
// Change tree map visualization mode to 3D
TreeMap.View3D := True;
Treemap.RenderMode := VisualizatorTreeMapRenderMode.tmrmRM3D;
End Sub UserProc;
See also: