.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfPrinterSettings.PrintInGrayscale Property

Gets or sets a value which indicates whether to print the document content in grayscale.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.1.Drawing.dll


public bool PrintInGrayscale { get; set; }

Property Value

Type Description

true to print a document content in grayscale; false the current printer settings are used.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PrintInGrayscale
WinForms Controls PdfPageSetupDialogShowingEventArgs
WPF Controls PageSetupDialogShowingEventArgs


The property is set to false by default. Use the true option of the PrintInGrayscale property if a printer can’t print a document in grayscale using the standard PageSettings.Color property set to false.

See Also