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.
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.
// Install Aspose.CAD as a Cake Addin
#addin nuget:?package=Aspose.CAD&version=20.7.0

// Install Aspose.CAD as a Cake Tool
#tool nuget:?package=Aspose.CAD&version=20.7.0                

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. 
.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
24.9.0 1,732 9/27/2024
24.8.0 5,652 9/1/2024
24.7.0 8,577 8/2/2024
24.6.0 13,810 6/24/2024
24.5.0 2,814 5/31/2024
24.4.0 12,738 4/28/2024
24.3.0 12,715 3/26/2024
24.2.0 17,118 2/29/2024
24.1.0 26,221 2/12/2024
23.12.0 15,899 1/2/2024
23.11.0 11,578 12/17/2023
23.10.0 23,618 11/13/2023
23.9.0 41,859 10/2/2023
23.8.0 38,004 8/22/2023
23.7.0 49,116 7/20/2023
23.6.0 55,299 6/22/2023
23.5.0 51,646 5/24/2023
23.4.0 48,987 4/26/2023
23.3.0 70,801 3/26/2023
23.2.0 70,034 2/25/2023
23.1.0 36,741 1/26/2023
22.12.0 14,533 1/3/2023
22.11.0 44,530 11/27/2022
22.10.0 11,258 11/7/2022
22.9.0 43,942 10/4/2022
22.8.0 13,752 9/4/2022
22.7.0 83,488 7/17/2022
22.6.0 60,210 6/12/2022
22.5.0 38,059 5/19/2022
22.4.0 15,317 5/4/2022
22.3.0 10,637 4/23/2022
22.2.0 48,074 3/2/2022
22.1.0 11,003 2/5/2022
21.12.0 37,331 12/24/2021
21.11.0 18,472 11/22/2021
21.10.0 13,141 10/24/2021
21.9.0 24,865 9/9/2021
21.8.0 3,291 9/1/2021
21.7.0 57,430 8/4/2021
21.6.0 12,045 7/13/2021
21.5.0 23,879 5/31/2021
21.4.0 49,107 5/10/2021
21.3.0 24,478 4/11/2021
21.2.0 12,442 3/16/2021
21.1.0 17,339 2/9/2021
20.12.0 6,178 1/16/2021
20.11.0 13,394 12/10/2020
20.10.0 18,342 11/9/2020
20.9.1 15,527 10/5/2020
20.8.1 3,411 9/12/2020
20.7.0 7,922 8/6/2020
20.6.0 4,571 6/27/2020
20.4.0 19,060 5/8/2020
20.3.0 5,968 3/31/2020
20.1.0 13,729 1/25/2020
19.9.0 17,940 10/7/2019
19.7.0 36,367 8/10/2019
19.5.0 2,793 5/19/2019
19.2.0 2,183 3/14/2019
18.12.0 4,613 1/9/2019
18.8.1 2,238 11/28/2018
18.8.0 3,107 9/3/2018
18.3.0 6,168 3/9/2018
17.12.0 2,202 12/21/2017
17.9.0 4,396 9/23/2017
17.4.0 3,168 4/28/2017
17.2.0 3,017 2/20/2017
16.12.1 1,799 12/29/2016
16.12.0 1,588 12/16/2016
16.10.0 1,859 10/19/2016
1.1.0 2,100 8/3/2016
1.0.0 2,549 5/24/2016