Aspose.CAD 20.3.0

.NET Standard 2.0 .NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.CAD -Version 20.3.0
dotnet add package Aspose.CAD --version 20.3.0
<PackageReference Include="Aspose.CAD" Version="20.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.CAD --version 20.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.CAD, 20.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.CAD as a Cake Addin
#addin nuget:?package=Aspose.CAD&version=20.3.0

// Install Aspose.CAD as a Cake Tool
#tool nuget:?package=Aspose.CAD&version=20.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

AutoCAD File Conversion API for .NET

Aspose.CAD for .NET is a standalone class library to enhance ASP.NET & Windows applications to process & render AutoCAD® drawings without requiring AutoCAD or any other tools. The CAD .NET API allows high quality conversion of AutoCAD DWG, DWF, DWT and DXF files, layouts and layers to PDF & raster image formats.

AutoCAD File Processing Features

  • Supports the latest versions of AutoCAD DWG, DWF, DWT and DXF formats.
  • Convert the AutoCAD files to PDF.
  • Convert the AutoCAD files to raster images.
  • Select and convert specific layouts of AutoCAD drawings.
  • Select and convert specific layers of AutoCAD drawings.
  • Adjust AutoCAD drawing size before rendering.
  • Track the file conversion process.

New Features in Version 20.3

  • Interrupt or put a timeout on Save.
  • Support for DXF Version.
  • Support for DWFX files.
  • Automatic codepage detection for DWG and DXF.

For the detailed notes, please visit Aspose.CAD for .NET 20.3 - Release Notes.

Read AutoCAD File Formats

AutoCAD: DWG, DWT, DWF, DWXF, IFC, PLT MicroStation: DGN The Advanced Visualizer: OBJ Other: STL, IGES, CFF2

Save AutoCAD Drawings As

Fixed Layout: PDF Raster Images: PNG, BMP, TIFF, JPEG, GIF

Read & Write Formats

AutoCAD: 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 an AutoCAD File 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 Drawing to PDF using C#

Aspose.CAD for .NET enables your applications to perform various export operations on AutoCAD files. It supports to read and export ACAD Proxy Entities as well as IGES files. Similarly you can load and convert CAD drawings to raster images or PDF.

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);

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net20 net35 net35-client net40 net40-client net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 Downloads Last updated
22.7.0 4,105 7/17/2022
22.6.0 10,511 6/12/2022
22.5.0 7,683 5/19/2022
22.4.0 7,301 5/4/2022
22.3.0 2,856 4/23/2022
22.2.0 18,427 3/2/2022
22.1.0 2,886 2/5/2022
21.12.0 12,028 12/24/2021
21.11.0 5,670 11/22/2021
21.10.0 3,071 10/24/2021
21.9.0 7,551 9/9/2021
21.8.0 1,134 9/1/2021
21.7.0 12,715 8/4/2021
21.6.0 2,813 7/13/2021
21.5.0 7,804 5/31/2021
21.4.0 34,494 5/10/2021
21.3.0 7,308 4/11/2021
21.2.0 2,886 3/16/2021
21.1.0 5,812 2/9/2021
20.12.0 3,173 1/16/2021
20.11.0 3,019 12/10/2020
20.10.0 5,327 11/9/2020
20.9.1 13,990 10/5/2020
20.8.1 2,198 9/12/2020
20.7.0 5,941 8/6/2020
20.6.0 2,426 6/27/2020
20.4.0 14,436 5/8/2020
20.3.0 3,888 3/31/2020
20.1.0 5,847 1/25/2020
19.9.0 12,215 10/7/2019
19.7.0 26,287 8/10/2019
19.5.0 2,152 5/19/2019
19.2.0 1,592 3/14/2019
18.12.0 4,108 1/9/2019
18.8.1 1,260 11/28/2018
18.8.0 2,471 9/3/2018
18.3.0 5,380 3/9/2018
17.12.0 1,580 12/21/2017
17.9.0 3,016 9/23/2017
17.4.0 2,513 4/28/2017
17.2.0 1,602 2/20/2017
16.12.1 1,146 12/29/2016
16.12.0 1,045 12/16/2016
16.10.0 1,045 10/19/2016
1.1.0 1,626 8/3/2016
1.0.0 1,724 5/24/2016