ExportOptions.SaveToXml(String) Method

Saves the current export options to an XML file.

Namespace: DevExpress.XtraPrinting

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

Declaration

public void SaveToXml(
    string xmlFile
)
Public Sub SaveToXml(
    xmlFile As String
)

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