We are using Spire.PDF version 5.
In the post below we were introduced to version 8.8.0.
https://www.e-iceblue.com/forum/text-misaligned-when-converted-to-png-t11322.html
But using version 8 gives "Evaluation warning: This document was created with Spire.PDF for Java." in the output PDF.
pom.xml
- Code: Select all
<dependency>
<groupId>e-iceblue</groupId>
<artifactId>spire.pdf</artifactId>
<version>8.8.0</version>
</dependency>>
code:
- Code: Select all
PdfDocument pdf = new PdfDocument(srcPdfPath);
pdf.saveToFile(dstPdfPath);
Thank you