Condividi tramite


Printing3D3MFPackage Classe

Definizione

Rappresenta un pacchetto 3D Manufacturing Format (3MF).

public ref class Printing3D3MFPackage sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Graphics.Printing3D.Printing3DContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Graphics.Printing3D.Printing3DContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Printing3D3MFPackage final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Graphics.Printing3D.Printing3DContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Graphics.Printing3D.Printing3DContract")]
class Printing3D3MFPackage final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Graphics.Printing3D.Printing3DContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Graphics.Printing3D.Printing3DContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Printing3D3MFPackage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Graphics.Printing3D.Printing3DContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Graphics.Printing3D.Printing3DContract")]
public sealed class Printing3D3MFPackage
function Printing3D3MFPackage()
Public NotInheritable Class Printing3D3MFPackage
Ereditarietà
Object Platform::Object IInspectable Printing3D3MFPackage
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Desktop Extension SDK (è stato introdotto in 10.0.10240.0)
API contract
Windows.Graphics.Printing3D.Printing3DContract (è stato introdotto in v1.0)

Commenti

Questa API è progettata per l'uso con pacchetti 3D Manufacturing Format (3MF). Per altre info su 3MF, vedi specifica 3MF.

Cronologia delle versioni

Versione di Windows Versione dell'SDK Valore aggiunto
1709 16299 Compressione

Costruttori

Printing3D3MFPackage()

Crea un oggetto Printing3D3MFPackage.

Proprietà

Compression

Ottiene e imposta il livello di compressione file previsto per questo pacchetto 3MF. Questo viene preso in considerazione quando l'istanza printing3D3MFPackage viene convertita in un file 3MF.

ModelPart

Ottiene o imposta un flusso XML sul modello 3D nel pacchetto 3D Manufacturing Format (3MF).

PrintTicket

Ottiene o imposta un flusso sul ticket di stampa nel pacchetto 3D Manufacturing Format (3MF).

Textures

Ottiene o imposta le trame nel pacchetto 3D Manufacturing Format (3MF).

Thumbnail

Ottiene o imposta un'immagine di anteprima che rappresenta il contenuto del pacchetto 3D Manufacturing Format (3MF).

Metodi

LoadAsync(IRandomAccessStream)

Crea un Printing3D3MFPackage oggetto da un flusso di file 3D Manufacturing Format (3MF).

LoadModelFromPackageAsync(IRandomAccessStream)

Crea un oggetto Printing3DModel da un flusso di file 3D Manufacturing Format (3MF).

SaveAsync()

Salva l'oggetto Printing3D3MFPackage in un flusso di file 3D Manufacturing Format (3MF).

SaveModelToPackageAsync(Printing3DModel)

Salva il modello 3D specificato nel pacchetto 3D Manufacturing Format (3MF).

Si applica a

Vedi anche