Windows Dev Center

IPrintDocumentSource interface

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

Syntax


public interface IPrintDocumentSource

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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft