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