Share via


Print3DDevice Class

Definition

Represents a 3D printer.

public ref class Print3DDevice 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 Print3DDevice 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 Print3DDevice
Public NotInheritable Class Print3DDevice
Inheritance
Object Platform::Object IInspectable Print3DDevice
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

Use the AQS string returned by GetDeviceSelector with the DeviceInformation APIs to find all 3D printers that are connected to the device. Once you have a DeviceInformation object for a 3D printer, you can use that object's Id property value as the deviceId parameter in FromIdAsync to create a Print3DDevice object.

Properties

PrintSchema

Gets the PrintSchema object for obtaining capabilities and print ticket information.

Methods

FromIdAsync(String)

Creates a Print3DDevice object that represents a 3D printer connected to the device.

GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that can be used to find all 3D printers that are connected to the device.

Applies to