共用方式為


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方法傳遞至列印系統。

適用於