Class DocumentNUp

Class DocumentNUp

命名空间: Aspose.Page.XPS.XpsMetadata
程序集: Aspose.Page.dll (25.1.2)

描述多个逻辑页面到单个物理纸张的输出和格式。
每个文档单独编译。DocumentNUp 和 Aspose.Page.XPS.XpsMetadata.JobNUpAllDocumentsContiguously 是互斥的。由驱动程序决定这些关键字之间的约束处理。
https://docs.microsoft.com/en-us/windows/win32/printdocs/documentnup

public sealed class DocumentNUp : NUp, IFeatureItem, IJobPrintTicketItem, IDocumentPrintTicketItem, IPrintTicketItem, IPrintTicketElementChild

继承

object
PrintTicketElement
CompositePrintTicketElement
Feature
NUp
DocumentNUp

实现

IFeatureItem,
IJobPrintTicketItem,
IDocumentPrintTicketItem,
IPrintTicketItem,
IPrintTicketElementChild

继承成员

Feature.Add(params IFeatureItem[]),
PrintTicketElement.Name,
object.GetType(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()

构造函数

DocumentNUp(params INUpItem[])

创建一个新实例。

public DocumentNUp(params NUp.INUpItem[] items)

参数

items NUp.INUpItem[]

特定于该功能的项数组。

方法

AddPagesPerSheetOption(int)

添加一个具有 PagesPerSheet 评分属性值的选项。
指定每个物理纸张的逻辑页面数量。

public DocumentNUp AddPagesPerSheetOption(int value)

参数

value int

一个 PagesPerSheet 评分属性值。
支持的集合可以是任何整数集合,例如 {1,2,4,6,8,9,16}。

返回

DocumentNUp

此功能实例。

 中文