PrintTicket::OutputColor Property
Gets or sets a value indicating how the printer handles content that has color or shades of gray.
Assembly: ReachFramework (in ReachFramework.dll)
public: property Nullable<OutputColor> OutputColor { Nullable<OutputColor> get (); void set (Nullable<OutputColor> value); }
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 nullptr value for this property means that this feature setting is not specified. Also, when the value is nullptr, 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.