Share via


Print3DDevice Classe

Définition

Représente une imprimante 3D.

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
Héritage
Object Platform::Object IInspectable Print3DDevice
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows Desktop Extension SDK (introduit dans 10.0.10240.0)
Windows 10 (introduit dans 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Devices.Printers.PrintersContract (introduit dans v1.0)

Remarques

Utilisez la chaîne AQS retournée par GetDeviceSelector avec les API DeviceInformation pour rechercher toutes les imprimantes 3D connectées à l’appareil. Une fois que vous avez un objet DeviceInformation pour une imprimante 3D, vous pouvez utiliser la valeur de propriété Id de cet objet comme paramètre deviceId dans FromIdAsync pour créer un objet Print3DDevice.

Propriétés

PrintSchema

Obtient l’objet PrintSchema pour obtenir des fonctionnalités et imprimer des informations de ticket.

Méthodes

FromIdAsync(String)

Crée un objet Print3DDevice qui représente une imprimante 3D connectée à l’appareil.

GetDeviceSelector()

Obtient une chaîne AQS (Advanced Query Syntax) qui peut être utilisée pour rechercher toutes les imprimantes 3D connectées à l’appareil.

S’applique à