Skip to main content
A newer version of this page is available.

LinkBase.SavePageHeaderFooterToRegistry(String) Method

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

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public void SavePageHeaderFooterToRegistry(
    string path
)

Parameters

Name Type Description
path String

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

Remarks

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".

See Also