Bagikan melalui


Printing3D3MFPackage Kelas

Definisi

Mewakili paket Format Manufaktur 3D (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
Warisan
Object Platform::Object IInspectable Printing3D3MFPackage
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Graphics.Printing3D.Printing3DContract (diperkenalkan dalam v1.0)

Keterangan

API ini dirancang untuk digunakan dengan paket 3D Manufacturing Format (3MF). Untuk informasi selengkapnya tentang 3MF, lihat Spesifikasi 3MF.

Riwayat versi

Versi Windows Versi SDK Nilai ditambahkan
1709 16299 Kompresi

Konstruktor

Printing3D3MFPackage()

Membuat objek Printing3D3MFPackage.

Properti

Compression

Mendapatkan dan mengatur tingkat kompresi file yang dimaksudkan untuk paket 3MF ini. Ini diperhitungkan ketika instans Printing3D3MFPackage dikonversi ke file 3MF.

ModelPart

Mendapatkan atau mengatur aliran XML ke model 3D dalam paket 3D Manufacturing Format (3MF).

PrintTicket

Mendapatkan atau mengatur aliran ke tiket cetak dalam paket 3D Manufacturing Format (3MF).

Textures

Mendapatkan atau mengatur tekstur dalam paket 3D Manufacturing Format (3MF).

Thumbnail

Mendapatkan atau mengatur gambar mini yang mewakili konten paket 3D Manufacturing Format (3MF).

Metode

LoadAsync(IRandomAccessStream)

Membuat objek Printing3D3MFPackage dari aliran file 3D Manufacturing Format (3MF).

LoadModelFromPackageAsync(IRandomAccessStream)

Membuat objek Printing3DModel dari aliran file 3D Manufacturing Format (3MF).

SaveAsync()

Menyimpan objek Printing3D3MFPackage ke aliran file 3D Manufacturing Format (3MF).

SaveModelToPackageAsync(Printing3DModel)

Menyimpan model 3D yang ditentukan ke paket 3D Manufacturing Format (3MF).

Berlaku untuk

Lihat juga