IExAnalyzerExporter.GetMapExporter

Syntax

GetMapExporter: IMapExporter;

Description

The GetMapExporter method creates an object to export the express report map.

Example

Sub UserProc;
Var
    Mb: IMetabase;
    Analyzer: IEaxAnalyzer;
    Exp: IExAnalyzerExporter;
    MapExp: IMapExporter;
Begin
    MB := MetabaseClass.Active;
    Analyzer := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
    Exp := New ExAnalyzerExporter.Create;
    Exp.ExAnalyzer := Analyzer;
    Analyzer.Grid.Refresh;
    MapExp := Exp.GetMapExporter;
    MapExp.Map := Analyzer.Map.Map;
    MapExp.ExportToFile("c:\map.jpg""JPG");
End Sub UserProc;

After executing the example the express report map is exported to a JPG file. Express report identifier: EXPRESS_REPORT.

See also:

IExAnalyzerExporter