Back to Devexpress

PdfQueryPageSettingsEventArgs.PrintInGrayscale Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfquerypagesettingseventargs-054a4131.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public bool PrintInGrayscale { get; set; }
vb
Public Property PrintInGrayscale As Boolean

Property Value

TypeDescription
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

PdfQueryPageSettingsEventArgs Class

PdfQueryPageSettingsEventArgs Members

DevExpress.Xpf.PdfViewer Namespace