Report > Report Assembly Interfaces > IPrxReportExporter > IPrxReportExporter.SaveSettings
SaveSettings: (Container: Variant);
Container. The parameter containing XML element with regular report export settings.
The SaveSettings method saves export settings to XML element.
Names of attributes in the XML file with settings match the names of corresponding properties of IPrxReportExporter.
Example of XML file with export settings
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: