共用方式為


IXpsOMPrintTicketResource interface

Provides an IStream interface to a PrintTicket resource.

When to implement

Never. Custom implementation of this interface is not supported.

Members

The IXpsOMPrintTicketResource interface inherits from IXpsOMResource. IXpsOMPrintTicketResource also has these types of members:

  • Methods

Methods

The IXpsOMPrintTicketResource interface has these methods.

Method Description
GetStream

Gets a new, read-only copy of the stream that is associated with this resource.

SetContent

Sets the read-only stream to be associated with this resource.

 

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

IXpsOMResource

IXpsOMObjectFactory::CreatePrintTicketResource

Interfaces

XML Paper Specification