IEaxMap.LoadTopobaseFromFile

Syntax

LoadTopobaseFromFile(FileName: String);

Parameters

FileName: Cell highlighting condition.

Description

The LoadTopobaseFromFile method loads a map from the file, path and name of which are passed in the FileName parameter.

Example

Sub Main;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EMap: IEaxMap;
Begin
    MB:=MetabaseClass.Active;
    MObj:=MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr:=MObj 
As IEaxAnalyzer;
    EMap:=Expr.Map;
    EMap.LoadTopobaseFromFile(
"C:\map.tbs");
    MObj.Save;
End Sub Main;

After executing the example the express report map is loaded from the map.tbs file. Express report identifier - EXPRESS_REPORT.

See also:

IEaxMap