public class Option extends Object implements IFeatureItem, Iterable<IOptionItem>
Class incapsulating print ticket option.
| Modifier and Type | Class and Description |
|---|---|
static class |
Option.PageMediaSize
Convenience class for PageMediaSize print ticket option.
|
| Constructor and Description |
|---|
Option(IOptionItem... properties)
Creates common print ticket feature instance.
|
Option(String name,
IOptionItem... properties)
Creates common print ticket feature instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(IOptionItem... properties)
Adds list of properties to the end of option properties list.
|
Iterator<IOptionItem> |
iterator()
Implementation of
Iterable<IOptionItem> interface. |
String |
toString()
Returns the string representation.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Option(String name, IOptionItem... properties)
Creates common print ticket feature instance.
name - Arbitrary option name.properties - Array of IOptionItem objects.
Each one must be a ScoredProperty or Property object.public Option(IOptionItem... properties)
Creates common print ticket feature instance.
properties - Array of IOptionItem objects.
Each one must be a ScoredProperty or Property object.public void add(IOptionItem... properties)
Adds list of properties to the end of option properties list.
Each one must be a ScoredProperty or Property object.
properties - List of properties to add.public String toString()
Returns the string representation.
String representation.public Iterator<IOptionItem> iterator()
Implementation of Iterable<IOptionItem> interface.
iterator in interface Iterable<IOptionItem>Copyright © 2021 Aspose. All Rights Reserved.