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