Aspose.CAD 20.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.CAD --version 20.7.0
                    
NuGet\Install-Package Aspose.CAD -Version 20.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.CAD" Version="20.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspose.CAD" Version="20.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Aspose.CAD" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspose.CAD --version 20.7.0
                    
#r "nuget: Aspose.CAD, 20.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspose.CAD@20.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspose.CAD&version=20.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Aspose.CAD&version=20.7.0
                    
Install as a Cake Tool

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 and DXF files, layouts and layers to PDF & raster image formats.

CAD File Processing Features

  • Supports the latest versions of DWG, DWF, DWT & 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.

New Features & Enhancements in Version 20.6

  • There are several enhancements in this version.

Added APIs in Version 20.6

  • Class: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellElement
  • Field/Enum: Aspose.CAD.ImageOptions.RenderErrorCode.PdfRendererFailed
  • Method: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellDefinitionElement.AddChild(Aspose.CAD.FileFormats.Dgn.DgnElements.DgnElement)
  • Method: Aspose.CAD.FileFormats.Dgn.DgnTransform.DgnQuaternion.#ctor(System.Int64,System.Int64,System.Int64,System.Int64)
  • Method: Aspose.CAD.Point.op_Explicit(Aspose.CAD.Point)
  • Method: Aspose.CAD.PointF.op_Explicit(Aspose.CAD.PointF)
  • Method: Aspose.CAD.Xmp.XmpPackage.SetValue(System.String,)
  • Property: Aspose.CAD.FileFormats.Cad.CadAciColor.White
  • Property: Aspose.CAD.FileFormats.Cad.CadObjects.AttEntities.CadAttrib.Visible
  • Property: Aspose.CAD.FileFormats.Cad.CadObjects.CadMaterial.Attribute282
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnShapeElement.Filled
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellDefinitionElement.Childs
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellDefinitionElement.Name
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellElement.Definition
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellElement.Id
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellElement.MaxPoint
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellElement.MinPoint
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellElement.Name
  • Property: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellElement.Origin
  • Property: Aspose.CAD.ImageOptions.CadRenderResult.Failures
  • Property: Aspose.CAD.LoadOptions.CustomFontFolders

Removed APIs in Version 20.6

  • Class: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellDefinition
  • Field/Enum: Aspose.CAD.ImageOptions.CadRenderResult.Failures
  • Method: Aspose.CAD.FileFormats.Dgn.DgnTransform.DgnQuaternion.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)
  • Method: Aspose.CAD.Point.op_Explicit(Aspose.CAD.Point)
  • Method: Aspose.CAD.PointF.op_Explicit(Aspose.CAD.PointF)
  • Method: Aspose.CAD.Xmp.XmpPackage.SetValue(System.String)
  • Class: Aspose.CAD.FileFormats.Dgn.DgnElements.DgnSharedCellDefinition
  • Field/Enum: Aspose.CAD.ImageOptions.CadRenderResult.Failures
  • Method: Aspose.CAD.FileFormats.Dgn.DgnTransform.DgnQuaternion.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)
  • Method: Aspose.CAD.Point.op_Explicit(Aspose.CAD.Point)
  • Method: Aspose.CAD.PointF.op_Explicit(Aspose.CAD.PointF)
  • Method: Aspose.CAD.Xmp.XmpPackage.SetValue(System.String)

Read CAD Formats

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

Save CAD As

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

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net35-client is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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 Downloads Last Updated
25.7.0 373 7/10/2025
25.6.0 3,823 6/12/2025
25.5.0 6,516 5/6/2025
25.4.1 6,289 4/16/2025
25.4.0 915 4/11/2025
25.3.0 12,888 3/12/2025
25.2.0 389 3/12/2025
25.1.0 1,574 3/10/2025
24.12.0 34,553 1/2/2025
24.11.0 19,037 12/1/2024
24.10.0 31,757 10/28/2024
24.9.0 13,370 9/27/2024
24.8.0 9,878 9/1/2024
24.7.0 29,692 8/2/2024
24.6.0 32,112 6/24/2024
24.5.0 4,215 5/31/2024
24.4.0 21,311 4/28/2024
24.3.0 15,202 3/26/2024
24.2.0 25,784 2/29/2024
24.1.0 50,255 2/12/2024
23.12.0 26,632 1/2/2024
23.11.0 16,047 12/17/2023
23.10.0 35,377 11/13/2023
23.9.0 53,611 10/2/2023
23.8.0 48,448 8/22/2023
23.7.0 54,008 7/20/2023
23.6.0 61,865 6/22/2023
23.5.0 57,165 5/24/2023
23.4.0 51,100 4/26/2023
23.3.0 78,217 3/26/2023
23.2.0 87,100 2/25/2023
23.1.0 54,488 1/26/2023
22.12.0 15,466 1/3/2023
22.11.0 49,618 11/27/2022
22.10.0 11,768 11/7/2022
22.9.0 67,925 10/4/2022
22.8.0 16,623 9/4/2022
22.7.0 101,115 7/17/2022
22.6.0 77,642 6/12/2022
22.5.0 48,234 5/19/2022
22.4.0 22,130 5/4/2022
22.3.0 12,617 4/23/2022
22.2.0 57,048 3/2/2022
22.1.0 16,090 2/5/2022
21.12.0 39,456 12/24/2021
21.11.0 20,706 11/22/2021
21.10.0 14,604 10/24/2021
21.9.0 29,894 9/9/2021
21.8.0 3,678 9/1/2021
21.7.0 72,976 8/4/2021
21.6.0 13,746 7/13/2021
21.5.0 28,919 5/31/2021
21.4.0 51,233 5/10/2021
21.3.0 31,150 4/11/2021
21.2.0 13,778 3/16/2021
21.1.0 19,820 2/9/2021
20.12.0 6,471 1/16/2021
20.11.0 16,596 12/10/2020
20.10.0 21,496 11/9/2020
20.9.1 15,820 10/5/2020
20.8.1 3,617 9/12/2020
20.7.0 8,061 8/6/2020
20.6.0 8,128 6/27/2020
20.4.0 19,516 5/8/2020
20.3.0 6,414 3/31/2020
20.1.0 15,834 1/25/2020
19.9.0 19,457 10/7/2019
19.7.0 37,657 8/10/2019
19.5.0 3,059 5/19/2019
19.2.0 2,434 3/14/2019
18.12.0 4,838 1/9/2019
18.8.1 2,363 11/28/2018
18.8.0 3,435 9/3/2018
18.3.0 6,563 3/9/2018
17.12.0 2,533 12/21/2017
17.9.0 5,484 9/23/2017
17.4.0 3,434 4/28/2017
17.2.0 4,473 2/20/2017
16.12.1 2,031 12/29/2016
16.12.0 1,835 12/16/2016
16.10.0 2,119 10/19/2016
1.1.0 2,327 8/3/2016
1.0.0 2,920 5/24/2016