IPrintDocumentSource 接口

定义

IPrintDocumentSource 描述打印文档的源。

public interface class IPrintDocumentSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3738962992, 61931, 18399, 170, 230, 237, 84, 39, 81, 31, 1)]
struct IPrintDocumentSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3738962992, 61931, 18399, 170, 230, 237, 84, 39, 81, 31, 1)]
public interface IPrintDocumentSource
Public Interface IPrintDocumentSource
派生
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

此接口由 Windows.UI.Xaml.Printing.PrintDocument 类实现。 它的实现必须通过 PrintTaskSourceRequestedArgs 中的 SetSource 方法传递到打印系统。

适用于