Disegni CF2
Contents
[
Hide
]Convertire CF2 in PDF
Aspose.CAD per .NET ora supporta il formato di file comune (CF2). Un file CF2 contiene progetti di pacchetti 3D o altri dati di modello. Questo articolo dimostra come è possibile convertire il file CF2 in PDF utilizzando PdfOptions.
Codice di esempio
Si prega di utilizzare il seguente frammento di codice per convertire CF2 in 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); | |
} | |