IPrxReportExporter.LoadSettings

Syntax

LoadSettings: (Container: Variant);

Parameters

Container. The parameter that contains XML element with regular report export settings.

Description

The LoadSettings method loads export settings from XML element.

Comments

An XML file can be obtained using the IPrxReportExporter.SaveSettings property.

Names of attributes in the XML file with settings match the names of corresponding properties of IPrxReportExporter.

Example of XML file with export settings

Example

Executing the example requires settings previously saved to the "c:\test.xml". file.

Sub Main;
Var
    Exporter: IPrxReportExporter;
    element: IXMLDOMElement;
    xml: IXMLDOMDocument;
Begin
   Exporter := 
New PrxReportExporter.Create;
    xml := 
New DOMDocument60.Create;
    xml.load(
"c:\test.xml");
    element := xml.documentElement;
    Exporter.LoadSettings(element);
End Sub Main;

After executing the example regular report export settings are loaded from the "c:\test.xml" file.

See also:

IPrxReportExporter