Java AutoCAD Conversion APIs
Convert DWG, DXF, STL documents to PDF & raster image formats without any CAD software.
Download Free TrialAspose.CAD for Java is an advanced AutoCAD conversion native API without any software dependencies. It allows developers the conversion of DWF, DWG and DXF files to raster image formats and PDF. During the conversion process, developers can choose and convert specific layers and layouts as well as keep track of the file conversion process.
At a
Glance
Supported File
Formats
Platform
Independence
Advanced Java Visio API Features
Current versions of DXF and DWG documents supported
AutoCAD documents conversion to PDF
AutoCAD files rendering to Raster images
Choose and convert specific layouts
Choose and convert specific layers
Track the document conversion process
CAD to PDF Format Conversion
Aspose.CAD for Java API supports converting CAD drawings to PDF. Developers can easily adjust drawing options like draw color, background color, page size, scale mode and so on before conversion.
Save CAD in PDF format - Java
// load CAD for conversion
Image image = Image.load(dir + "template.dwg");
// create instance & set resultant page size
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.setPageSize(new SizeF(1200, 1200));
// save PDF
PdfOptions pdfOptions = new PdfOptions();
pdfOptions.setVectorRasterizationOptions(rasterizationOptions);
image.save(dir + "output.pdf", pdfOptions);
Render AutoCAD Drawings in Raster Image Formats
Having a high fidelity rendering engine at its core, API can convert AutoCAD drawings to various raster images including BMP, GIF, TIFF, PNG & JPEG without the need for any other software or library.
Tags: Aspose, GUI/Application Framework Library, Java, Aspose.CAD for Java