رسومات CFF2
Contents
[
Hide
]تحويل CF2 إلى PDF
يدعم Aspose.CAD لـ Java الآن تنسيق الملفات الشائع (CF2). يحتوي ملف CF2 على تصميمات حزم ثلاثية الأبعاد أو بيانات نموذج أخرى. توضح هذه المقالة كيفية تحويل ملف CF2 إلى PDF باستخدام Aspose.CAD.
يرجى استخدام مقتطفات الشيفرة التالية لتحويل 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
String dataDir = Utils.getDataDir(CFFToPDF.class) + "CFF/"; | |
// Path to source file | |
String sourceFilePath = dataDir+"WineBottle_Die.cf2"; | |
Image image = Image.load(sourceFilePath); | |
{ | |
PdfOptions options = new PdfOptions(); | |
image.save(dataDir + "WineBottle_Die_out.pdf",options); | |
} | |