CF2 Výkresy
Contents
[
Hide
]Převod CF2 na PDF
Aspose.CAD pro .NET nyní podporuje soubor ve formátu Common File Format (CF2). Soubor CF2 obsahuje návrhy 3D balíčků nebo jiná modelová data. Tento článek ukazuje, jak můžete převést soubor CF2 na PDF pomocí PdfOptions.
Vzorový kód
Použijte následující kódový úryvek k převedení CF2 na 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); | |
} | |