Exporting DGN AutoCAD

Exporting DGN AutoCAD Format To PDF

Aspose.CAD for Java API has introduced the functionality to load a DGN AutoCAD file and convert it to PDF format. DgnImage class serves the purpose.

You need to load an existing DGN file as DgnImage. Create an instance of the CadRasterizationOptions class and set different properties. Create an instance of PdfOptions class and pass the CadRasterizationOptions instance. Now call the save method of DgnImage class instance.

Sample Code

Following is the code demonstration to convert/export DGN to PDF format.

Exporting DGN AutoCAD Format To Raster Image Format

Aspose.CAD for Java API has introduced the functionality to load a DGN AutoCAD file and convert it to a raster image. The DgnImage class serves the purpose.

You need to load an existing DGN file as DgnImage. Create an instance of the CadRasterizationOptions class and set different properties. Create an instance of JpegOptions class and pass the CadRasterizationOptions instance. Now call the save method of DgnImage class instance.

Sample Code

Following is the code demonstration to convert/export DGN to JPEG image.