Skip to main content

PdfQueryPageSettingsEventArgs.PrintInGrayscale Property

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

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v23.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

Declaration

public bool PrintInGrayscale { get; set; }

Property Value

Type Description
Boolean

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

Remarks

Use the PrintInGrayscale property to override print color settings made before a document page is printed.

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

See Also