XpsDocumentNotificationLevel 列舉

定義

指出寫入 XML 文件規格 (XPS) 文件或列印佇列的作業是否傳回逐頁或逐文件的進度通知。

C#
public enum XpsDocumentNotificationLevel
繼承
XpsDocumentNotificationLevel

欄位

名稱 Description
None 0

未指出通知狀態。

ReceiveNotificationDisabled 2

已停用進度通知。

ReceiveNotificationEnabled 1

已啟用進度通知。

備註

未啟用通知時,會將 XpsDocumentWriter 序列化的 XML 紙張規格 (XPS) 檔案複製到目標或 PrintQueue 建立 的目標 XpsDocumentXpsDocumentWriter 。 啟用時,第 XpsDocumentWriter 一次還原序列化檔,接著重新序列化檔,然後在傳送每個頁面和檔的進度通知時將其寫入目標。

適用於

產品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9