CF2 Drawings
Contents
[
Hide
]تبدیل CF2 به PDF
Aspose.CAD برای .NET اکنون از فرمت فایل مشترک (CF2) پشتیبانی میکند. فایل CF2 شامل طراحیهای بسته سهبعدی یا دادههای مدل دیگر است. این مقاله نشان میدهد که چگونه میتوانید فایل CF2 را با استفاده از PdfOptions به PDF تبدیل کنید.
کد نمونه
لطفاً از کد نمونه زیر برای تبدیل 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); | |
} | |