Skip to main content

ExportOptions.SaveToXml(String) Method

Saves the current export options to an XML file.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core


public void SaveToXml(
    string xmlFile


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.


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