iText 7 Core is available via Maven on The Central repository. If you need all iText 7 modules, then you don't need to add the individual modules and you can just add this XML snippet in your pom.xml. Maven will then do all the heavy lifting for you and download the required modules from The Central Repository. Simply add iText 7 as a dependency to your pom.xml:
NOTE: We use "RELEASE" as the iText version in this installation, which will ensure you install the current release versions of the iText 7 modules. If your project requires a specific version of iText 7 to function correctly, ensure you replace this with your desired version number in your pom.xml.
I need some example code of using the PdfCopy class to resize a page. There is a PdfCopy.SetPagesize() function, but I have basically no idea how to properly scale the source page when it needs to be resized.
I want to add a watermark to a document that doesn't cover any of the existing text (not even if the watermark is transparent). Instead, I want to add a small margin on the left side of each page and add the watermark there. Is this possible?
I want to convert an existing A4 PDF document into an A3 PDF using Java. Since I am new to the iText API, I wonder if anyone can guide me how to do this. A sample would be appreciated. Note: the output PDF should be an A3 booklet format.
I have a PDF document which has AcroForm text fields. Now I want to insert a signature image in one of the those fields. I want to place an image on top of the text field position and resize the text field to match the image size.