PrintTicketOption Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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)>