Free Support Forum -

Issue with PDF output file from conversion from DGN to PDF

Hi, I have tried converting DGN files to PDF. However the output PDF is empty or the content in the PDF is not similar to the content in the DGN file.
Please advise. Thanks.
dgn and pdf (4.0 MB)

com.aspose.cad.Image objImage = com.aspose.cad.Image.load(inputfile);

CadRasterizationOptions cadRasterizationOptions = new CadRasterizationOptions();

com.aspose.cad.imageoptions.PdfOptions pdfOptions = new com.aspose.cad.imageoptions.PdfOptions();
pdfOptions.setVectorRasterizationOptions(cadRasterizationOptions);, pdfOptions);


I have observed the issue shared by you and request you to please try using Aspose.CAD for Java 20.1 on your end. In case there is still an issue then please share the generated PDF file created on your end.

Hi, have tried using Aspose.CAD for Java 20.1. Issue still occurs, please attached generated PDF files.

CAD-20-1_smap7.pdf (3.1 MB)
CAD-20-1_smap15.pdf (2.2 MB)
CAD-20-1_smap27.pdf (185.3 KB)


Thank you for sharing the information with us. An issue with ID CADJAVA-636 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.


We have initiated the issue investigation and resolution on our end. Can you please be kind enough to share the comparison snapshot of DGN and respective error in PDF files.

Hi, for smap15.pdf, when viewing the file, there is an error prompt and the image is not similar to the source dgn file and for smap27.pdf, there is no image in the pdf.
There files are multipage drawings but there is only one page for all 3 output pdf files.

Below is the images of the dgn using an online viewer to print to pdf/image (2.3 MB) (2.3 MB)
smap7 (4.5 MB)


Thank you very much for providing the information.We will share feedback with you as soon as the issue will be fixed.

The issues you have found earlier (filed as CADJAVA-636) have been fixed in this update.