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)檔案複製到建立 XpsDocumentWriter的目標 XpsDocumentPrintQueueWhen 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.

適用於