Option class

Option class

The class that implements a common PrintTicket Option. The base class for all schema-defined options. An Option element contains all of the Property and ScoredProperty elements associated with this option. https://docs.microsoft.com/en-us/windows/win32/printdocs/option

Inheritance: OptionCompositePrintTicketElementPrintTicketElement

The Option type exposes the following members:

Constructors

ConstructorDescription
initCreates a new PrintTicket option instance.
initCreates a new PrintTicket option instance.
initCreates a clone option instance.

Properties

PropertyDescription
nameGets the element name.

Methods

MethodDescription
addAdds a list of items to the end of this option’s item list.
Each one must be a ScoredProperty or Property instance.

See Also