Class Option

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

public class Option : CompositePrintTicketElement, IFeatureItem

Constructors

NameDescription
Option(params IOptionItem[])Creates a new PrintTicket option instance.
Option(Option)Creates a clone option instance.
Option(string, params IOptionItem[])Creates a new PrintTicket option instance.

Properties

NameDescription
Name { get; }Gets the element name.

Methods

NameDescription
Add(params IOptionItem[])Adds a list of items to the end of this option’s item list. Each one must be a ScoredProperty or Property instance.

See Also