Skip to main content

LinkBase.SavePageHeaderFooterToRegistry(String) Method

Saves the Page Header/Footer dialog’s settings to the registry.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public void SavePageHeaderFooterToRegistry(
    string path


Name Type Description
path String

A String value specifying the registry path at which to save the header/footer.


The SavePageHeaderFooterToRegistry method saves the values of all the LinkBase.PageHeaderFooter‘s properties to the registry. Then, to restore the header/footer from the registry, use the LinkBase.RestorePageHeaderFooterFromRegistry method.

The path parameter contains the registry key. You are allowed to define whole and partial registry keys. For instance, if you define a partial key, “Software\MyCompany\MyTool" the full path will be as follows: “HKEY_CURRENT_USER\Software\MyCompany\MyTool". If you wish to store a header/footer in another root key, you should define the entire path, for instance: “HKEY_LOCAL_MACHINE\Software\MyCompany\MyTool".

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SavePageHeaderFooterToRegistry(String) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also