Print3DDevice Print3DDevice Print3DDevice Print3DDevice Class
Definition
Represents a 3D printer.
public : sealed class Print3DDevice : IPrint3DDevicepublic sealed class Print3DDevice : IPrint3DDevicePublic NotInheritable Class Print3DDevice Implements IPrint3DDevice// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Devices.Printers.PrintersContract (introduced v1)
|
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 PrintSchema PrintSchema PrintSchema
Gets the PrintSchema object for obtaining capabilities and print ticket information.
public : PrintSchema PrintSchema { get; }public PrintSchema PrintSchema { get; }Public ReadOnly Property PrintSchema As PrintSchema// You can use this property in JavaScript.
The PrintSchema object for obtaining capabilities and print ticket information.
Methods
FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String)
Creates a Print3DDevice object that represents a 3D printer connected to the device.
public : static IAsyncOperation<Print3DDevice> FromIdAsync(PlatForm::String deviceId)public static IAsyncOperation<Print3DDevice> FromIdAsync(String deviceId)Public Static Function FromIdAsync(deviceId As String) As IAsyncOperation( Of Print3DDevice )// You can use this method in JavaScript.
- deviceId
- PlatForm::String String String String
The device ID of the 3D printer.
A Print3DDevice object that corresponds to the specified 3D printer.
GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()
Gets an Advanced Query Syntax (AQS) string that can be used to find all 3D printers that are connected to the device.
public : static PlatForm::String GetDeviceSelector()public static string GetDeviceSelector()Public Static Function GetDeviceSelector() As string// You can use this method in JavaScript.
An AQS string that can be used to find all 3D printers connected to the device.