IXpsDocumentConsumer::SendXpsDocument method

The SendXpsDocument method sends an XPS document to the pipeline.

Syntax

HRESULT SendXpsDocument(
  IXpsDocument *pIXpsDocument
);

Parameters

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

   
Target Platform Desktop
Header filterpipeline.h

See Also

IXpsDocument

IXpsDocumentConsumer