Windows Dev Center

PrintColorModeOptionDetails class

Represents the list of print color mode options.

Syntax


public sealed class PrintColorModeOptionDetails : IPrintOptionDetails,
    IPrintItemListOptionDetails

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The PrintColorModeOptionDetails class has these types of members:

Methods

The PrintColorModeOptionDetails class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
TrySetValue Sets the value for the print color mode option.

 

Properties

The PrintColorModeOptionDetails class has these properties.

PropertyAccess typeDescription

ErrorText

Read/writeGets or sets the string for an error condition.

Items

Read-onlyGets the list of items for the print color mode option.

OptionId

Read-onlyGets the ID for the print color mode option.

OptionType

Read-onlyGets the option type for the print color mode option.

State

Read/writeGets or sets the state of the print color mode option.

Value

Read-onlyGets or sets the enumerated value of the print color mode option.

 

Remarks

Here is a JavaScript code snippet that shows how to retrieve the object:


//  Retrieve the advanced Print Task Options
var printDetailedOptions = 
     Windows.Graphics.Printing.OptionDetails.PrintTaskOptionDetails.getFromPrintTaskOptions(printTask.options);

// get the object
var printColorModeOptionDetails = 
     printDetailedOptions.options.lookup(Windows.Graphics.Printing.StandardPrintTaskOptions.colorMode);

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Graphics.Printing.OptionDetails
Windows::Graphics::Printing::OptionDetails [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.Graphics.Printing.OptionDetails
Windows::Graphics::Printing::OptionDetails [C++]

Metadata

Windows.winmd

See also

Object
IPrintOptionDetails
IPrintItemListOptionDetails

 

 

Show:
© 2015 Microsoft