Skip to main content
A newer version of this page is available. .

ExportOptions.SaveToXml(String) Method

Saves the current export options to an XML file.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

public void SaveToXml(
    string xmlFile
)

Parameters

Name Type Description
xmlFile String

A String specifying the path to the file in which the export options will be stored. If an empty string is specified, an exception is raised.

Remarks

The SaveToXml method saves the export options (the values of all the ExportOptions‘s properties) to the specified file. The saved settings can then be restored from storage using the ExportOptions.RestoreFromXml method.

See Also