Skip to main content

PrintTool.SavePrinterSettingsToRegistry(String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Saves the settings of the system default printer to the specified registry.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v25.2.dll

NuGet Package: DevExpress.Win.Printing

Declaration

public void SavePrinterSettingsToRegistry(
    string path
)

Parameters

Name Type Description
path String

A String, specifying the system registry path to where the printer settings should be saved.

See Also