Report > Report Assembly Interfaces > IPrxReportExporter > IPrxReportExporter.LoadSettings
LoadSettings: (Container: Variant);
Container. The parameter that contains XML element with regular report export settings.
The LoadSettings method loads export settings from XML element.
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
Executing the example requires that the c:\test.xml file contains previously saved settings.
Add links to the Report and Xml system assemblies.
Sub UserProc;
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 UserProc
After executing the example, regular report export options are loaded from the c:\test.xml file.
See also: