IMap.SaveToXml

Syntax

SaveToXml(SaveMethod: MapXmlSaveMethod): String;

Parameters

SaveMethod. The method used for loading.

Description

The SaveToXml method loads a map to XML format.

Example

Executing the example requires an express report with the EXPRESS_REPORT identifier and a map on it.

Sub UserProc;
Var
    MetaBase: IMetabase;
    XMLSave: string;
Begin
    MetaBase := MetabaseClass.Active;
    XMLSave := (MetaBase.ItemById(
"EXPRESS_REPORT").Bind As IEaxAnalyzer).Map.Map.SaveToXml(MapXmlSaveMethod.Visual);
    Debug.WriteLine(XMLSave);
End Sub UserProc;

After executing the example express report map formatting is loaded to XML format.

See also:

IMap