XpsDocumentNotificationLevel 枚举

定义

指示对 XML 纸张规范 (XPS) 文档或打印队列的写入操作是按页还是按文档发送回进度通知。Indicates whether a write operation to an XML Paper Specification (XPS) document or a print queue sends back page-by-page and document-by-document progress notifications.

public enum class XpsDocumentNotificationLevel
public enum XpsDocumentNotificationLevel
type XpsDocumentNotificationLevel = 
Public Enum XpsDocumentNotificationLevel
继承
XpsDocumentNotificationLevel

字段

None 0

未指示通知状态。The notification status is not indicated.

ReceiveNotificationDisabled 2

已禁用进度通知。Progress notifications are disabled.

ReceiveNotificationEnabled 1

已启用进度通知。Progress notifications are enabled.

注解

如果未启用通知, 则XpsDocumentWriter会将序列化的 XML 纸张规范 (XPS) 文档复制到目标PrintQueue XpsDocument或创建XpsDocumentWriter的。When notification is not enabled, the XpsDocumentWriter copies the serialized XML Paper Specification (XPS) document to the target XpsDocument or PrintQueue that created the XpsDocumentWriter. 启用后, XpsDocumentWriter第一个反序列化该文档, 接下来重新它, 然后将其写入目标, 同时为每个页面和文档发送进度通知。When it is enabled, the XpsDocumentWriter first deserializes the document, next reserializes it, and then writes it to the target while it sends progress notifications for each page and document.

适用于