DocumentNUp
Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement, com.aspose.xps.metadata.Feature, com.aspose.xps.metadata.NUp
All Implemented Interfaces: com.aspose.xps.metadata.IJobPrintTicketItem, com.aspose.xps.metadata.IDocumentPrintTicketItem
public final class DocumentNUp extends NUp implements IJobPrintTicketItem, IDocumentPrintTicketItem
描述将多个逻辑页输出到单个物理纸张的方式和格式。每个文档分别编译。DocumentNUp 和 JobNUpAllDocumentsContiguously 互斥。由驱动程序决定这些关键字之间的约束处理方式。https://docs.microsoft.com/en-us/windows/win32/printdocs/documentnup
构造函数
| 构造函数 | 描述 |
|---|---|
| DocumentNUp(NUp.INUpItem[] items) | 创建一个新实例。 |
方法
| 方法 | 描述 |
|---|---|
| add(IFeatureItem[] items) | 将一系列项目添加到此功能的项目列表末尾。 |
| addPagesPerSheetOption(int value) | 添加一个带有 PagesPerSheet 计分属性值的选项。 |
| equals(Object arg0) | |
| getClass() | |
| getName() | 获取元素名称。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
DocumentNUp(NUp.INUpItem[] items)
public DocumentNUp(NUp.INUpItem[] items)
创建一个新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| items | INUpItem[] | 特定于该功能的项目数组。 |
add(IFeatureItem[] items)
public void add(IFeatureItem[] items)
将一组项目添加到此功能的项目列表末尾。每个项目必须是 Feature、Option 或 Property 实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| items | IFeatureItem[] | 要添加的项目列表。 |
addPagesPerSheetOption(int value)
public DocumentNUp addPagesPerSheetOption(int value)
添加一个带有 PagesPerSheet 计分属性值的选项。指定每个物理纸张上的逻辑页面数。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | int |
PagesPerSheet
计分属性值。支持的集合可以是任意整数集合,例如 \{1,2,4,6,8,9,16\}。|
Returns: DocumentNUp - This feature instance.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.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:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |