LinkBase.SavePageHeaderFooterToXml(String) Method

Saves the Page Header/Footer dialog’s settings to an XML file.

Namespace: DevExpress.XtraPrinting

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


public void SavePageHeaderFooterToXml(
    string xmlFile


Name Type Description
xmlFile String

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


The SavePageHeaderFooterToXml method saves the header/footer (the values of all the LinkBase.PageHeaderFooter‘s properties) to the specified file. The saved settings can then be restored from storage using the LinkBase.RestorePageHeaderFooterFromXml method.

See Also