IXpsDocumentConsumer::SendXpsDocument method (filterpipeline.h)

The SendXpsDocument method sends an XPS document to the pipeline.

Syntax

HRESULT SendXpsDocument(
  [in] IXpsDocument *pIXpsDocument
);

Parameters

[in] pIXpsDocument

A pointer to the XPS document object to send.

Return value

SendXpsDocument returns an HRESULT value.

Remarks

The IXpsDocument interface is the root for a tree view of an XPS document. The tree also contains one fixed document sequence and any number of fixed documents and fixed pages.

Only one XpsDocument interface can be sent. The SendXpsDocument method will fail if a filter submits more than one XpsDocument interface for the same print job.

Requirements

Requirement Value
Target Platform Desktop
Header filterpipeline.h

See also

IXpsDocument

IXpsDocumentConsumer