Aspose.CAD  for .NET

.NET APIs to Process and Convert CAD Files

Convert DWG, DXF, STL, CF2, DWF, IGES, DGN, STL, FBX, OBJ, other CAD and BIM files to PDF, WebP, SVG and other Vector and Raster Images without any software dependencies.

  Download Free Trial
  
 

Aspose.CAD for .NET is a standalone CAD and BIM files processing API suitable for .Net Core, Xamarin for Android and iOS. It provides the functionality to convert DXF, DWG, DGN, DWF, DWFX, IFC, STL, DWT, IGES, PLT, CF2, OBJ, HPGL, IGS, PCL, FBX, SVG files to high-quality PDF and other vector and raster image files such as: BMP, GIF, JPG, JPEG, JP2, PNG, TIFF, PSD, DICOM, WEBP, WMF, EMF. Developers can select and convert specific layouts and layers from the AutoCAD files as well as track the whole file conversion process with ease. Aspose.CAD for .NET API is multi-thread safe and ready for bulk parallel processing with cancellation support.

Advanced .NET CAD API Features

Supports the latest versions of Autodesk DWG, DXF, DWF, DWT, DWFX files

Convert the CAD and BIM files to high-quality PDF and other scalable vector formats

Convert various CAD and BIM format files to high-quality Raster images

Select and convert specific layouts

Select and convert specific layers

Track the file conversion process

Batch multi-thread files export processing

Convert DWG to PDF

Aspose.CAD for .NET provides the ability to convert supported CAD drawing files to PDF format. The conversion process is highly customizable, allowing you to configure the rendering aspects, such as page size, background color, draw color, scale mode and so on.

Save CAD in PDF format - C#

// load the drawing to be converted

using (var img = Aspose.CAD.Image.Load(dir + "template.dwg"))

{

    // create an instance of CadRasterizationOptions & set resultant page size

    var rasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions()

    {

        PageSize = new Aspose.CAD.SizeF(1200, 1200),

    };

    // save resultant PDF

    img.Save(dir + "output.pdf", new Aspose.CAD.ImageOptions.PdfOptions() { VectorRasterizationOptions = rasterizationOptions });

}

Convert CAD to Raster Images

.NET CAD library also offers high fidelity rendering engine at its core which can convert CAD drawings to most commonly used raster image formats including PNG, BMP, TIFF, JP2, PSD, DICOM, WEBP, GIF & JPEG without requiring any additional software or external tool.

  

Support and Learning Resources

  
  

Aspose.CAD offers individual native APIs for other popular development environments as listed below: