Property

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement

All Implemented Interfaces: com.aspose.xps.metadata.IPrintTicketItem, com.aspose.xps.metadata.IFeatureItem, com.aspose.xps.metadata.IOptionItem, com.aspose.xps.metadata.IScoredPropertyItem, com.aspose.xps.metadata.IPropertyItem

public class Property extends CompositePrintTicketElement implements IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem

Class implementing print ticket property. The class that implements a common PrintTicket ``` Property ```. The base class for all schema-defined properties. A ``` Property ``` element declares a device, job formatting, or other relevant property whose name is given by its name attribute. A ``` Value ``` element is used to assign a value to the ``` Property ```. A ``` Property ``` can be complex, possibly containing multiple subproperties. Subproperties are also represented by ``` Property ``` elements. https://docs.microsoft.com/en-us/windows/win32/printdocs/property

Constructors

Constructor Description
Property(String name, Property property, IPropertyItem[] items) Creates a new instance.
Property(String name, Value value, IPropertyItem[] items) Creates a new instance.

Property(String name, Property property, IPropertyItem[] items)

public Property(String name, Property property, IPropertyItem[] items)

Creates a new instance.

Parameters:

Parameter Type Description
name java.lang.String A property name.
property Property A mandatory ``` Property ``` instance.
items com.aspose.xps.metadata.IPropertyItem[] An arbitrary array of ``` IPropertyItem ``` instance. Each one must be a ``` Property ``` or a ``` Value ``` instance.

Property(String name, Value value, IPropertyItem[] items)

public Property(String name, Value value, IPropertyItem[] items)

Creates a new instance.

Parameters:

Parameter Type Description
name java.lang.String A property name.
value Value A mandatory ``` Value ``` instance.
items com.aspose.xps.metadata.IPropertyItem[] An arbitrary array of ``` IPropertyItem ``` instance. Each one must be a ``` Property ``` or a ``` Value ``` instance.