Skip to main content

PrintTool.LoadPrinterSettings(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.

Applies the printer settings restored from the specified file to the system default printer.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v26.1.dll

Declaration

public void LoadPrinterSettings(
    string filePath
)

Parameters

Name Type Description
filePath String

A String value, specifying the name of the file (with a full path to it) from where the printer settings should be loaded.

See Also