public class Feature extends CompositePrintTicketElement implements IPrintTicketItem, IFeatureItem
The class that incapsulates a common Print Schema feature.
The base class for all schema-defined features.
A Feature
element contains a complete list of the Option
and Property
elements that fully describe a device attribute, job formatting setting, or other relevant characteristic.
https://docs.microsoft.com/en-us/windows/win32/printdocs/feature
Constructor and Description |
---|
Feature(String name,
Feature feature,
IFeatureItem... items)
Creates a new PrintTicket feature instance.
|
Feature(String name,
Option option,
IFeatureItem... items)
Creates a new PrintTicket feature instance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(IFeatureItem... items)
Adds a list of items to the end of this feature's item list.
|
getName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public Feature(String name, Option option, IFeatureItem... items)
Creates a new PrintTicket feature instance.
name
- A feature name.option
- Required Option
instance.items
- An arbitrary array of IFeatureItem
instances.
Each one must be a Feature
, an Option
or a Property
instance.public Feature(String name, Feature feature, IFeatureItem... items)
Creates a new PrintTicket feature instance.
name
- Feature name.feature
- Required Feature
instance.items
- An arbitrary array of Property
instances.
Each one must be a Feature
, an Option
or a Property
instance.public void add(IFeatureItem... items)
Adds a list of items to the end of this feature's item list.
Each one must be a Feature
, an Option
or a Property
instance.
items
- List of items to add.Copyright © 2022 Aspose. All Rights Reserved.