IPrintDocumentSource interface

Applies to Windows only

Initialized when a print task is initialized for the print system.

Syntax


public interface class IPrintDocumentSource

Attributes

[Version(0x06020000)]

Members

The IPrintDocumentSource interface does not define any members.

Remarks

The IPrintDocumentSource points to the source for the print document. For example, when you set the source for the print document, using the SetSource method in PrintTaskSourceRequestedArgs, you must provide a pointer to an IPrintDocumentSource interface.

Here is a JavaScript code snippet to show how to set the document source using a pointer to IPrintDocumentSource:


// Set the document source for a print task
// source is a pointer to an IPrintDocumentSource interface
Windows.Graphics.Printing.PrintTaskSourceRequestedArgs.SetSource(source);


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft