This documentation is archived and is not being maintained.

PrintTicket::OutputColor Property

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)

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.

ExceptionCondition
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.

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

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Show: