Show contents 

Report > Report Assembly Interfaces > IPrxReportExporter > IPrxReportExporter.SaveSettings

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

Add links to the Report and Xml system assemblies.

Sub UserProc;
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 UserProc

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

See also:

IPrxReportExporter