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

实现打印票证属性的类。实现通用 PrintTicket Property 的类。所有模式定义属性的基类。Property 元素声明一个设备、作业格式或其他相关属性,其名称由其 name 属性给出。Value 元素用于为 Property 分配值。Property 可以是复合的,可能包含多个子属性。子属性也由 Property 元素表示。 https://docs.microsoft.com/en-us/windows/win32/printdocs/property

构造函数

构造函数描述
Property(String name, Property property, IPropertyItem[] items)创建一个新实例。
Property(String name, Value value, IPropertyItem[] items)创建一个新实例。

方法

方法描述
equals(Object arg0)
getClass()
getName()获取元素名称。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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

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

创建一个新实例。

Parameters:

参数类型描述
名称java.lang.String属性名称。
propertyProperty必需的 Property 实例。
itemsIPropertyItem[]任意数组的 IPropertyItem 实例。每个实例必须是 Property 或 Value 实例。

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

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

创建一个新实例。

Parameters:

参数类型描述
名称java.lang.String属性名称。
valueValue一个强制的 Value 实例。
itemsIPropertyItem[]任意数组的 IPropertyItem 实例。每个实例必须是 Property 或 Value 实例。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

获取元素名称。

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int