Printing3D3MFPackage Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
- 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 |
Properti
Compression |
Mendapatkan dan mengatur tingkat kompresi file yang dimaksudkan untuk paket 3MF ini. Ini diperhitungkan ketika instans |
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 |
LoadModelFromPackageAsync(IRandomAccessStream) |
Membuat objek |
SaveAsync() |
Menyimpan objek |
SaveModelToPackageAsync(Printing3DModel) |
Menyimpan model 3D yang ditentukan ke paket 3D Manufacturing Format (3MF). |