首页 / 操作系统 / Linux / 利用Aspose.Imaging for .NET转换AutoCAD DXF到PDF
Aspose.Imaging for .NET 2.0.0现在已经发布,带来了新的AutoCAD DXF 2010文件格式读取功能,并能输出到PDF格式。using Aspose.Imaging.FileFormats.Cad; using Aspose.Imaging.ImageOptions;
namespace DxfExamples { /// <summary> /// Represents test examples for DXF -> PDF export /// </summary> public class DxfExamples { /// <summary> /// Default export. /// </summary> public void DefaultExport() { // Name of the file string filename = "Drawing1.dxf";
// Load an image using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Load(filename)) { // Create options PdfOptions pdfOptions = new PdfOptions();