Itext7 bare bones hello world example – how?

So I’ve downloaded the compiled itext jar files from https://github.com/itext/itext7/releases/latest and placed them in same folder as the iText example C01E01_HelloWorld.java but when I run javac …

Merge encrypted pdf file programmatically exception

I have been using the following code to merge encrypted pdf files programmatically. public void mergeMyFiles(String filesToBeMerged[], String mergedFileLocation, String password) { try { …

Remove FixedLeading at the first line on each page

I want to remove setFixedLeading at the first line on each page (100+) I read a bit text(more 100 page with help while). And I set padding and margin to 0 but I still have top indent. Why? Help me …

Java iText scale document to A4

I have the following method that “resizes” all the pages of a document to A4 page dimensions: for (PdfDocument doc : pdfDocuments) { int n = doc.getNumberOfPages(); …

How to get page size of pdf document iText 7

I have a java program in iText 7 that receive JSON data and generate a PDF document (with header and footer) that works fine with data in variable clientData in comment, but when use the variable in …