A newer version of this page is available. Switch to the current version.

LinkBase.SavePageHeaderFooterToXml(String) Method

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

Namespace: DevExpress.XtraPrinting

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


public void SavePageHeaderFooterToXml(
    string xmlFile
Public Sub SavePageHeaderFooterToXml(
    xmlFile As String


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