Rysunki CF2
Contents
[
Hide
]Konwertowanie CF2 na PDF
Aspose.CAD dla .NET teraz obsługuje Wspólny Format Pliku (CF2). Plik CF2 zawiera projekty 3D lub inne dane modelowe. Artykuł ten demonstruje, jak można przekonwertować plik CF2 na PDF przy użyciu PdfOptions.
Przykład kodu
Proszę użyć poniższego fragmentu kodu, aby przekonwertować 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); | |
} | |