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
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: