Ч drawings 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); | |
} | |