For any AutoCAD files processing application, .NET CAD API facilitates the conversion processes easily to view or display CAD designs within the web or desktop applications. API not only loads main AutoCad formats including DWG, DXF, DGN, IFC, IGES, DWF, DWFx, STL, PLT but also converts to PDF and raster images such as PNG, JPG, BMP, TIFF, and GIF with ease.
Convert CAD to Images
As it is not possible to view or embed CAD formats directictly within in web applications or desktop solutions, so there is need of conversion. Process of conversion is simple, Load the source CAD file via API Image.Load method. Create the CadRasterizationOptions instance and set the related parameters such as page width and height. API provides the ImageOptionsBase abstract class for setting relevant image options object like BmpOptions, GifOptions, JpegOptions,SvgOptions for CAD to SVG Conversion, PngOptions and more listed within ImageOptions Namespace.