Aspose.CAD 22.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.CAD --version 22.4.0                
NuGet\Install-Package Aspose.CAD -Version 22.4.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="22.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.CAD --version 22.4.0                
#r "nuget: Aspose.CAD, 22.4.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=22.4.0

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

Convert DXF to TIFF & DWG to WMF via .NET CAD API

Version 22.4.0 Nuget

banner

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

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, DWFX, DWT, DGN, STL, OBJ, STL, CF2, IGES, IFC, PLT, and DXF files, layouts, and layers to PDF & raster image formats.

What is Aspose.CAD for .NET?

Aspose.CAD for .NET is a cross-platform library that seamlessly integrates; rendering, editing, reporting, and conversion capabilities for AutoCAD, and other CAD & BIM drawings into your own .NET Apps, without the need to install any 3rd party software.

It enables your C#, VB.NET, ASP.NET applications to work with plain plots, 3D solids, wired models, basic cube positions, 3D faces, surfaces, and meshes within DWG, DXF, DWF, and DGN file formats. Other supported formats include IFC, IGES, STL, DWT, PLT, DWFx, CFF2, and OBJ which can be exported to a variety of vector formats, such as; SVG, WMF, PDF as well as raster image formats (BMP, JP2, GIF, PSD, JPEG, TIF, PNG, etc.). You can also convert AutoCAD files to high-quality PDF, other vector formats, or raster images while tracking the file conversion process. Aspose.CAD for .NET also allows developers to select and convert specific layouts and layers.

Aspose.CAD for .NET supports Windows, Linux, Android, and iOS operating systems (32-bit and 64-bit). It could be integrated into your .NET infrastructure with .NET Core, Xamarin, Mono, or via classic .NET Framework.

CAD File Processing Features

  • Convert CAD to PDF.
  • Convert CAD to images.
  • Track file processing progress.
  • Manipulate drawing entities and blocks.
  • Select and convert specific layouts of CAD drawings.
  • Select and convert specific layers of CAD drawings.
  • Adjust CAD drawing size before rendering.
  • Support for BigFont.
  • Automatically detect optimal zoom for the CAD drawings.

What's new in v22.4.0

Better Memory Management

Memory leak was observed while converting AutoCAD® DXF to TIFF (raster graphics) format. So this release of the API offers a better memory management for DXF to TIFF Conversion.

Improved DWG to WMF Export

Improved the export of AutoCAD® DWG to WMF (Windows Metafile).

Export Embedded Image

Ability to export image from embedded image data.

Improved DWG Rendering

It was observed that the DWG was being rendered without colors. This issue has now been resolved within this release of the API.

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.CAD for .NET 22.4 - Release Notes.

Supported Read CAD Formats

AutoCAD®: DWG, DGN, DWT, DWF, DWFx
Plotter Configuration: PC3
Data Model: IFC
CAD Data Exchange: IGES
3D Printing: STL
Vector Based Plotter: PLT
3D Package Design CFF2
3D Geometry: OBJ

Supported Read & Write CAD Formats

AutoCAD®: DXF (Write feature is partially supported)

Save CAD As

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

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.

Get Started

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# Code

You can execute the 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# Code

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 | Docs | Demos | API Reference | Examples | Blog | Search | 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.  monoandroid10 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed.  monotouch10 is compatible. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed.  xamarinmac20 is compatible. 
Xamarin.TVOS xamarintvos was computed.  xamarintvos10 is compatible. 
Xamarin.WatchOS xamarinwatchos was computed.  xamarinwatchos10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
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
24.11.0 2,372 12/1/2024
24.10.0 12,116 10/28/2024
24.9.0 9,010 9/27/2024
24.8.0 8,191 9/1/2024
24.7.0 13,774 8/2/2024
24.6.0 20,443 6/24/2024
24.5.0 3,036 5/31/2024
24.4.0 15,559 4/28/2024
24.3.0 13,614 3/26/2024
24.2.0 20,527 2/29/2024
24.1.0 32,457 2/12/2024
23.12.0 19,979 1/2/2024
23.11.0 13,435 12/17/2023
23.10.0 27,553 11/13/2023
23.9.0 48,465 10/2/2023
23.8.0 40,320 8/22/2023
23.7.0 51,133 7/20/2023
23.6.0 57,630 6/22/2023
23.5.0 53,689 5/24/2023
23.4.0 49,859 4/26/2023
23.3.0 73,483 3/26/2023
23.2.0 75,017 2/25/2023
23.1.0 42,808 1/26/2023
22.12.0 14,834 1/3/2023
22.11.0 46,470 11/27/2022
22.10.0 11,476 11/7/2022
22.9.0 50,972 10/4/2022
22.8.0 15,016 9/4/2022
22.7.0 89,538 7/17/2022
22.6.0 64,696 6/12/2022
22.5.0 40,575 5/19/2022
22.4.0 17,514 5/4/2022
22.3.0 11,949 4/23/2022
22.2.0 52,838 3/2/2022
22.1.0 12,615 2/5/2022
21.12.0 38,173 12/24/2021
21.11.0 19,539 11/22/2021
21.10.0 13,806 10/24/2021
21.9.0 26,299 9/9/2021
21.8.0 3,379 9/1/2021
21.7.0 62,461 8/4/2021
21.6.0 12,928 7/13/2021
21.5.0 25,971 5/31/2021
21.4.0 49,792 5/10/2021
21.3.0 26,668 4/11/2021
21.2.0 13,057 3/16/2021
21.1.0 18,421 2/9/2021
20.12.0 6,256 1/16/2021
20.11.0 14,548 12/10/2020
20.10.0 19,154 11/9/2020
20.9.1 15,572 10/5/2020
20.8.1 3,486 9/12/2020
20.7.0 7,956 8/6/2020
20.6.0 5,193 6/27/2020
20.4.0 19,160 5/8/2020
20.3.0 6,015 3/31/2020
20.1.0 14,446 1/25/2020
19.9.0 18,324 10/7/2019
19.7.0 36,539 8/10/2019
19.5.0 2,826 5/19/2019
19.2.0 2,225 3/14/2019
18.12.0 4,631 1/9/2019
18.8.1 2,255 11/28/2018
18.8.0 3,183 9/3/2018
18.3.0 6,221 3/9/2018
17.12.0 2,223 12/21/2017
17.9.0 4,599 9/23/2017
17.4.0 3,187 4/28/2017
17.2.0 3,457 2/20/2017
16.12.1 1,816 12/29/2016
16.12.0 1,609 12/16/2016
16.10.0 1,891 10/19/2016
1.1.0 2,118 8/3/2016
1.0.0 2,627 5/24/2016