PrintBindingOptionDetails class

Applies to Windows only

Represents the list of print binding options.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

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

Members

The PrintBindingOptionDetails class has these types of members:

Methods

The PrintBindingOptionDetails 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 binding option.

 

Properties

The PrintBindingOptionDetails 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 binding options.

OptionId

Read-onlyGets the ID of the print binding option.

OptionType

Read-onlyGets the option type of the print binding option.

State

Read/writeGets or sets the state of the print binding option.

Value

Read-onlyGets or sets the enumerated value of the print binding 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 printBindingOptionDetails = 
     printDetailedOptions.options.lookup(Windows.Graphics.Printing.StandardPrintTaskOptions.binding);


Requirements

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

 

 

Show:
© 2014 Microsoft