Aspose.CAD 20.8.1

Aspose.CAD for .NET is a drawing library that enables your applications to perform a great range of processing tasks on images and drawings such as: editing, conversion and export into various raster and vector formats. With Aspose.CAD you can generate, modify, and render drawings without utilizing Autodesk AutoCAD®.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.CAD -Version 20.8.1
dotnet add package Aspose.CAD --version 20.8.1
<PackageReference Include="Aspose.CAD" Version="20.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.CAD --version 20.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

CAD File Conversion API for .NET

Aspose.CAD for .NET is a standalone class library to enhance ASP.NET & Windows applications to process & render CAD drawings without requiring AutoCAD or any other rendering workflow. The CAD Class Library allows high quality conversion of DWG, DWF, DWT, DGN, STL, OBJ, STL, CF2, IGES, IFC, PLT and DXF files, layouts and layers to PDF & raster image formats.

CAD File Processing Features

  • Supports the latest versions of DWG, DWF, DWT, DGN, STL, OBJ, STL, CF2, IGES, IFC, PLT & DXF formats.
  • Convert CAD to PDF.
  • Convert CAD to images.
  • Select and convert specific layouts of CAD drawings.
  • Select and convert specific layers of CAD drawings.
  • Adjust CAD drawing size before rendering.

Read CAD Formats

AutoCAD: DWG, DWT, DXF
MicroStation: DGN
The Advanced Visualizer: OBJ
Other: STL, IGES, DWF, DWFX, IFC, PLT, CF2, HPGL

Save CAD As

Fixed Layout: PDF
Vector Images SVG, WMF
Raster Images: PNG, BMP, TIFF, JPEG, GIF, PSD, JP2

Read & Write

CAD: DXF
(Write features is partially supported.)

Platform Independence

Aspose.CAD for .NET supports .NET framework (ASP.NET applications & Windows applications) as well as .NET Core. It supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed, this includes but is not limited to, Microsoft Windows desktop (XP, Vista, 7, 8, 10), Microsoft Windows Server (2003, 2008, 2012), Microsoft Azure, Linux (Ubuntu, OpenSUSE, CentOS and others), and Mac OS X.

Getting Started with Aspose.CAD for .NET

Are you ready to give Aspose.CAD for .NET a try? Simply execute Install-Package Aspose.CAD from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.CAD for .NET and want to upgrade the version, please execute Update-Package Aspose.CAD to get the latest version.

Add Watermark to CAD using C#

You can execute below code snippet to see how the API performs in your environment or check the GitHub Repository for other common usage scenarios.

CadText text = new CadText();
text.DefaultValue = "Watermark text";
text.TextHeight = 40;
text.FirstAlignment = new Cad3DPoint(300, 40);

Export DXF to PDF using C#

var rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.PageWidth = 500;
rasterizationOptions.PageHeight = 500;

rasterizationOptions.Layouts = new string[] { "Model" };
var pdfOptions = new PdfOptions();
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
cadImage.Save(dir + "output.pdf", pdfOptions);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

CAD File Conversion API for .NET

Aspose.CAD for .NET is a standalone class library to enhance ASP.NET & Windows applications to process & render CAD drawings without requiring AutoCAD or any other rendering workflow. The CAD Class Library allows high quality conversion of DWG, DWF, DWT, DGN, STL, OBJ, STL, CF2, IGES, IFC, PLT and DXF files, layouts and layers to PDF & raster image formats.

CAD File Processing Features

  • Supports the latest versions of DWG, DWF, DWT, DGN, STL, OBJ, STL, CF2, IGES, IFC, PLT & DXF formats.
  • Convert CAD to PDF.
  • Convert CAD to images.
  • Select and convert specific layouts of CAD drawings.
  • Select and convert specific layers of CAD drawings.
  • Adjust CAD drawing size before rendering.

Read CAD Formats

AutoCAD: DWG, DWT, DXF
MicroStation: DGN
The Advanced Visualizer: OBJ
Other: STL, IGES, DWF, DWFX, IFC, PLT, CF2, HPGL

Save CAD As

Fixed Layout: PDF
Vector Images SVG, WMF
Raster Images: PNG, BMP, TIFF, JPEG, GIF, PSD, JP2

Read & Write

CAD: DXF
(Write features is partially supported.)

Platform Independence

Aspose.CAD for .NET supports .NET framework (ASP.NET applications & Windows applications) as well as .NET Core. It supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed, this includes but is not limited to, Microsoft Windows desktop (XP, Vista, 7, 8, 10), Microsoft Windows Server (2003, 2008, 2012), Microsoft Azure, Linux (Ubuntu, OpenSUSE, CentOS and others), and Mac OS X.

Getting Started with Aspose.CAD for .NET

Are you ready to give Aspose.CAD for .NET a try? Simply execute Install-Package Aspose.CAD from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.CAD for .NET and want to upgrade the version, please execute Update-Package Aspose.CAD to get the latest version.

Add Watermark to CAD using C#

You can execute below code snippet to see how the API performs in your environment or check the GitHub Repository for other common usage scenarios.

CadText text = new CadText();
text.DefaultValue = "Watermark text";
text.TextHeight = 40;
text.FirstAlignment = new Cad3DPoint(300, 40);

Export DXF to PDF using C#

var rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.PageWidth = 500;
rasterizationOptions.PageHeight = 500;

rasterizationOptions.Layouts = new string[] { "Model" };
var pdfOptions = new PdfOptions();
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
cadImage.Save(dir + "output.pdf", pdfOptions);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/cad/net/aspose-cad-for-net-20-8-release-notes/

  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 3.5 Client

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.0 Client

    • No dependencies.
  • .NETStandard 2.0

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.CAD:

Package Downloads
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.9.1 222 10/5/2020
20.8.1 619 9/12/2020
20.7.0 3,108 8/6/2020
20.6.0 1,348 6/27/2020
20.4.0 2,751 5/8/2020
20.3.0 1,747 3/31/2020
20.1.0 2,858 1/25/2020
19.9.0 4,957 10/7/2019
19.7.0 6,979 8/10/2019
19.5.0 1,695 5/19/2019
19.2.0 1,185 3/14/2019
18.12.0 3,580 1/9/2019
18.8.1 853 11/28/2018
18.8.0 1,812 9/3/2018
18.3.0 4,855 3/9/2018
17.12.0 1,140 12/21/2017
17.9.0 2,317 9/23/2017
17.4.0 1,736 4/28/2017
17.2.0 825 2/20/2017
16.12.1 755 12/29/2016
16.12.0 628 12/16/2016
16.10.0 653 10/19/2016
1.1.0 1,239 8/3/2016
1.0.0 1,173 5/24/2016