DocumentHolePunch

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

All Implemented Interfaces: com.aspose.xps.metadata.IJobPrintTicketItem, com.aspose.xps.metadata.IDocumentPrintTicketItem

public final class DocumentHolePunch extends HolePunch implements IJobPrintTicketItem, IDocumentPrintTicketItem

描述输出的打孔特性。每个文档单独打孔。JobHolePunch 和 DocumentHolePunch 关键字互斥。PrintTicket 或 Print Capabilities 文档中不应同时指定两者。 https://docs.microsoft.com/en-us/windows/win32/printdocs/documentholepunch

构造函数

构造函数描述
DocumentHolePunch(HolePunch.HolePunchOption[] options)创建一个新实例。

方法

方法描述
add(IFeatureItem[] items)将一系列项目添加到此功能的项目列表末尾。
equals(Object arg0)
getClass()
getName()获取元素名称。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DocumentHolePunch(HolePunch.HolePunchOption[] options)

public DocumentHolePunch(HolePunch.HolePunchOption[] options)

创建一个新实例。

Parameters:

参数类型描述
optionsHolePunchOption[]特定于此功能的选项数组。

add(IFeatureItem[] items)

public void add(IFeatureItem[] items)

将一组项目添加到此功能的项目列表末尾。每个项目必须是 Feature、Option 或 Property 实例。

Parameters:

参数类型描述
itemsIFeatureItem[]要添加的项目列表。

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