IPrxReportExporter.SaveSettings

Syntax

SaveSettings: (Container: Variant);

Parameters

Container. The parameter containing XML element with regular report export settings.

Description

The SaveSettings method saves export settings to XML element.

Comments

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

    Sub Main;
    
Var
        Exporter: IPrxReportExporter;
        element: IXMLDOMElement;
        xml: IXMLDOMDocument;
    
Begin
        Exporter := 
New PrxReportExporter.Create;
        Exporter.ExportObjects := 
False;
        Exporter.ExportChartsAsImages := 
True;
        xml := 
New DOMDocument60.Create;
        element := xml.createElement(
"test");
        xml.appendChild(element);
        Exporter.SaveSettings(element);
        xml.save(
"c:\test.xml");
    
End Sub Main;

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

See also:

IPrxReportExporter