IPrintDocumentSource interface

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

Syntax


public interface 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 (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 (operating system)

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:
© 2015 Microsoft