Back to Devexpress

PrintTool.SavePrinterSettingsToRegistry(String) Method

windowsforms-devexpress-dot-xtraprinting-dot-printtool-dot-saveprintersettingstoregistry-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

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

csharp
public void SavePrinterSettingsToRegistry(
    string path
)
vb
Public Sub SavePrinterSettingsToRegistry(
    path As String
)

Parameters

NameTypeDescription
pathString

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

|

See Also

LoadPrinterSettingsFromRegistry(String)

PrintTool Class

PrintTool Members

DevExpress.XtraPrinting Namespace