IEaxMapChart.LoadTopobaseFromFile

Syntax

LoadTopobaseFromFile(FileName: String);

Parameters

FileName. File path and name.

Description

The LoadTopobaseFromFile method loads a map from a file.

Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier and the C:\map.svg. file.

Add links to the Express and Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EMap: IEaxMapChart;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("EXPRESS_REPORT").Edit;
    Expr := MObj As IEaxAnalyzer;
    EMap := Expr.MapChart;
    EMap.LoadTopobaseFromFile("C:\map.svg");
    MObj.Save;
End Sub UserProc;

After executing the example the express report map will be loaded from the file.

See also:

IEaxMapChart