Share via


PrintTicketOption Class

Definition

Represents a single possible setting for a print feature.

public ref class PrintTicketOption sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintTicketOption final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintTicketOption
Public NotInheritable Class PrintTicketOption
Inheritance
Object Platform::Object IInspectable PrintTicketOption
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Properties

DisplayName

Gets the UI-friendly display name of this option.

Name

Gets the canonical name of this print option.

XmlNamespace

Gets the XML namespace of this print option.

XmlNode

Gets the XML node of this print option.

Methods

GetPropertyNode(String, String)

Gets the XML node of a property element of the current print option.

GetPropertyValue(String, String)

Gets the value associated with a property element of the current print option.

GetScoredPropertyNode(String, String)

Gets the XML node of a scored property element of the current print option.

GetScoredPropertyValue(String, String)

Gets the value associated with a scored property element of the current print option.

Applies to

See also

  • <xref:Windows.Graphics.Printing.PrintTicket.PrintTicketFeature%0a%5bIPrintSchemaOption+interface%5d(%2fwindows-hardware%2fdrivers%2fddi%2fcontent%2fprinterextension%2fnn-printerextension-iprintschemaoption)>