แบบภาพ CF2

แปลง CF2 เป็น PDF

Aspose.CAD สำหรับ .NET ตอนนี้รองรับ Common File Format File (CF2) ไฟล์ CF2 ประกอบด้วยการออกแบบแพ็คเกจ 3D หรือข้อมูลโมเดลอื่น ๆ บทความนี้แสดงให้เห็นว่าคุณสามารถแปลงไฟล์ CF2 เป็น PDF ได้อย่างไรโดยใช้ PdfOptions.

โค้ดตัวอย่าง

โปรดใช้ชิ้นส่วนโค้ดต่อไปนี้เพื่อแปลง CF2 เป็น PDF.

// 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);
}