PrintColorMode Property  
 

Determines whether to use color or grayscale mode when printing a document.

Syntax

object.PrintColorMode [= value ]

Remarks

The PrintColorMode property specifies if the current document should be printed in color or grayscale mode. This property must be one of the following values:

Constant Description
webPrintModeDefault Uses the default color mode configured for the selected printer.
webPrintModeColor Requests that the document be printed in color.
webPrintModeGrayscale. Requests that the document be printed in grayscale.

The specified color mode is a request to the printer and does not guarantee that the document will be printed using that mode. For example, requesting color printing on a printer that only supports monochrome output will not cause an error solely because color printing is unavailable. The printer driver may substitute a supported mode or use its configured defaults. The actual output depends on the capabilities and configuration of the selected printer.

The PrintColorMode property does not determine whether background colors and images are included in the printed document. This behavior is controlled separately by the PrintBackground property.

The selected color mode applies only when printing to a physical printer and has no effect when saving a document in PDF format.

Data Type

Integer (Int32)

See Also