Express > Express Assembly Interfaces > IEaxDataAreaSlice > IEaxDataAreaSlice.Topobase
Topobase: ITopobase;
The Topobase property selects the topobase based on which the express report map is created.
In topobase map data is presented as a set of layers. Each layer is described by special attributes and presents a class of map data. For example, the layer with city coordinates or the layer describing country outlines.
To reset topobase for specified in the repository by default use the IEaxDataAreaSlice.ResetTopobase method.
Executing the example requires that the repository contains a map with the RF identifier and an express report with the EXPRESS_TOPOBASE identifier. The report must contain map.
Add links to the Express, Metabase, Topobase system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Analyzer: IEaxAnalyzer;
DataArea: IEaxDataArea;
Slice: IEaxDataAreaSlice;
Begin
// Get repository
MB := MetabaseClass.Active;
// Get express report
Analyzer := MB.ItemById("EXPRESS_TOPOBASE").Edit As IEaxAnalyzer;
// Get data area
DataArea := Analyzer.DataArea;
// Get data slice
Slice := DataArea.Slices.Item(0);
// Determine topobase
Slice.Topobase := MB.ItemById("RF").Bind As ITopobase;
Analyzer.MapChart.Visible := True;
// Save changes
(Analyzer As IMetabaseObject).Save;
End Sub UserProc;
After executing the example a new topobase, based on which a map is built in express report, is determined.
See also: