IPrintDocumentPackageTarget interface (documenttarget.h)

Allows users to enumerate the supported package target types and to create one with a given type ID. IPrintDocumentPackageTarget also supports the tracking of the package printing progress and cancelling.

Inheritance

The IPrintDocumentPackageTarget interface inherits from the IUnknown interface. IPrintDocumentPackageTarget also has these types of members:

Methods

The IPrintDocumentPackageTarget interface has these methods.

 
IPrintDocumentPackageTarget::Cancel

Cancels the current print job.
IPrintDocumentPackageTarget::GetPackageTarget

Retrieves the pointer to the specific document package target, which allows the client to add a document with the given target type. Clients can call this method multiple times but they always have to use the same target ID.
IPrintDocumentPackageTarget::GetPackageTargetTypes

Enumerates the supported target types.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header documenttarget.h