CF2 図面
Contents
[
Hide
]CF2をPDFに変換する
Aspose.CAD for .NET は、共通ファイル形式ファイル(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); | |
} | |