Aspose.CAD for Java is an advanced AutoCAD conversion native API without any software dependencies. It allows developers to convert DWG, DWF and DXF files to high-quality raster images and PDF. During the conversion process, developers can select and convert specific layouts and layers as well as keep track of the file conversion process.
- At aGlance
- Supported FileFormats
API supported file formats are listed below.
- DWG Release 11, 12, 13, 14
- DWG 2000/2000i/2002
- DWG 2004/2005/2006
- DWG 2010/2011/2012
- DWG 2013/2014/2015/2016
- AutoCAD DXF
- Autodesk DWF
- Industry Foundation Classes (IFC)
- STereoLithography (STL)
- Fixed Layout: PDF
- Raster Images: PNG, BMP, TIFF, JPEG, GIF
Advanced Java AutoCAD API Features
Supports the latest versions of DWG and DXF files
Convert the AutoCAD files to high-quality PDF
Convert the AutoCAD files to high-quality Raster images
Select and convert specific layouts
Select and convert specific layers
Track the file conversion process
CAD to PDF Format Conversion
Aspose.CAD for Java API supports converting supported CAD drawings to PDF format. Developers can easily adjust drawing options like background color, draw color, page size, scale mode and so on before conversion.
Save CAD in PDF format - Java
// load CAD to be converted Image image = Image.load(dir + "template.dwg"); // create instance of CadRasterizationOptions & 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 most commonly used raster image formats including BMP, GIF, TIFF, PNG & JPEG without the dependency of any additional software or tool.
The Rubik's Cube seems to be an impossible puzzle but it's easy to solve using just a few algorithms.