PrintSchema Class

Definition

Provides APIs to access a 3D printer's capabilities and print tickets.

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
Inheritance
Object Platform::Object IInspectable PrintSchema
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Devices.Printers.PrintersContract (introduced in v1.0)

Remarks

For more information about the XML documents returned by the methods of this class, see the Print Schema Specification.

Methods

GetCapabilitiesAsync(IRandomAccessStreamWithContentType)

Gets the 3D printer capabilities.

GetDefaultPrintTicketAsync()

Gets the 3D printer's default print ticket.

MergeAndValidateWithDefaultPrintTicketAsync(IRandomAccessStreamWithContentType)

Creates a new print ticket by merging the user’s selection with the default print ticket and validating that it will work for the device.

Applies to