PrintTicket.OutputColor Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating how the printer handles content that has color or shades of gray.

Namespace:   System.Printing
Assembly:  ReachFramework (in ReachFramework.dll)

member OutputColor : Nullable<OutputColor> with get, set

Property Value

Type: System.Nullable<OutputColor>

An OutputColor value indicating how the printer handles content that has color or shades of gray.

Exception Condition
ArgumentOutOfRangeException

Calling code has attempted to set the property to a value that is not in the OutputColor enumeration.

A null value for this property means that this feature setting is not specified. Also, when the value is null, the XML versions of the PrintTicket (see SaveTo and GetXmlStream) will not contain any markup for this feature.

This property corresponds to the Print Schema's PageOutputColor keyword.

You can test for the options that the printer supports by using the OutputColorCapability property.

The following example shows how to use this property to configure a print job.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: