共用方式為


PrintSchema 類別

定義

提供 API 來存取 3D 印表機的功能和列印票證。

public ref class PrintSchema sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Printers.PrintersContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintSchema final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Printers.PrintersContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintSchema
Public NotInheritable Class PrintSchema
繼承
Object Platform::Object IInspectable PrintSchema
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.10240.0 引進)
Windows 10 (已於 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Devices.Printers.PrintersContract (已於 v1.0 引進)

備註

如需這個類別之方法所傳回之 XML 檔的詳細資訊,請參閱 列印架構規格

方法

GetCapabilitiesAsync(IRandomAccessStreamWithContentType)

取得 3D 印表機功能。

GetDefaultPrintTicketAsync()

取得 3D 印表機的預設列印票證。

MergeAndValidateWithDefaultPrintTicketAsync(IRandomAccessStreamWithContentType)

將使用者的選取專案與預設列印票證合併,並驗證該票證適用于裝置,以建立新的列印票證。

適用於