Gambar CF2
Contents
[
Hide
]Mengonversi CF2 ke PDF
Aspose.CAD untuk .NET sekarang mendukung Common File Format File (CF2). File CF2 berisi desain paket 3D atau data model lainnya. Artikel ini menunjukkan bagaimana Anda dapat mengonversi file CF2 ke PDF menggunakan PdfOptions.
Contoh Kode
Silakan gunakan cuplikan kode berikut untuk mengonversi CF2 ke PDF.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The path to the documents directory. | |
string MyDir = RunExamples.GetDataDir_ConvertingCFF(); | |
using (Image image = Image.Load(MyDir + "WineBottle_Die.cf2")) | |
{ | |
var options = new PdfOptions(); | |
image.Save(MyDir + "WineBottle_Die_out.pdf",options); | |
} | |