แบบภาพ CF2
Contents
[
Hide
]แปลง CF2 เป็น PDF
Aspose.CAD สำหรับ .NET ตอนนี้รองรับ Common File Format File (CF2) ไฟล์ CF2 ประกอบด้วยการออกแบบแพ็คเกจ 3D หรือข้อมูลโมเดลอื่น ๆ บทความนี้แสดงให้เห็นว่าคุณสามารถแปลงไฟล์ CF2 เป็น PDF ได้อย่างไรโดยใช้ PdfOptions.
โค้ดตัวอย่าง
โปรดใช้ชิ้นส่วนโค้ดต่อไปนี้เพื่อแปลง CF2 เป็น 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); | |
} | |