共用方式為


IXpsDocumentConsumer::SendXpsDocument 方法 (filterpipeline.h)

SendXpsDocument 方法會將 XPS 檔傳送至管線。

語法

HRESULT SendXpsDocument(
  [in] IXpsDocument *pIXpsDocument
);

參數

[in] pIXpsDocument

要傳送之 XPS 檔物件的指標。

傳回值

SendXpsDocument 傳回 HRESULT 值。

言論

IXpsDocument 介面是 XPS 檔案樹視圖的根目錄。 樹狀結構也包含一個固定文件順序和任意數目的固定檔和固定頁面。

只能傳送一個 XpsDocument 介面。 如果篩選針對相同列印作業提交多個 XpsDocument 介面,則 SendXpsDocument 方法會失敗。

要求

要求 價值
目標平臺 桌面
標頭 filterpipeline.h

另請參閱

IXpsDocument

IXpsDocumentConsumer