public class Option extends CompositePrintTicketElement implements IFeatureItem
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
Constructor and Description |
---|
Option(IOptionItem... items)
Creates a new PrintTicket option instance.
|
Option(Option option)
Creates a clone option instance.
|
Option(String name,
IOptionItem... items)
Creates a new PrintTicket option instance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(IOptionItem... items)
Adds a list of items to the end of this option's item list.
|
getName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public Option(String name, IOptionItem... items)
Creates a new PrintTicket option instance.
name
- An arbitrary option name.items
- An arbitrary array of IOptionItem
instance.
Each one must be a ScoredProperty
or a Property
instance.public Option(IOptionItem... items)
Creates a new PrintTicket option instance.
items
- An arbitrary array of IOptionItem
instance.
Each one must be a ScoredProperty
or a Property
instance.public Option(Option option)
Creates a clone option instance.
option
- An option instance to clone.public void add(IOptionItem... items)
Adds a list of items to the end of this option's item list.
Each one must be a ScoredProperty
or a Property
instance.
items
- List of items to add.Copyright © 2022 Aspose. All Rights Reserved.