Skip to content

Tag: itext

lock pdf with itext after sign

I need to lock a pdf after applying a signature, I need the output file to look like this one: locked as you can see it says “locked by signature”, I tried adding the lock like this when I get the pdf signature appearance: but all I have got in return is this: mine only a message that says “…

how to change image position to center in PDF android

My app create pdf using this code problem is when user select smaller size image than page size it will move to top left corner i have tried and if image is bigger than page size it goes out of the page I want to shrink the image size to page size Answer I have Changed this image position to

iText: Set height of table cell with image

I created a table with iText 5.5.13.2 (latest iText5 version) and I’m filling it with text and images that are read from a specific folder on the same PC: Both columns in the table use the same width (which is great) and big images are automatically resized to fit the width (which is also great), the on…

The non-latin text is disappearing from the pdf text field

I create a PDF document with text fillable fields using itext 7.1.9 library. The PdfTextFormField contains a multilanguage text. When the PDF document has created, I open it in Adobe Acrobat Reader and the non-latin symbols are disappearing from the text field and I see only latin symbols, but if I click on t…

iText PDF: the document has no pages

I’m trying to do a date range based filter to export a report into a PDF; however, when I click to export the PDF, I get the following message: ExceptionConverter: java.io.IOException: The document has no pages. Here’s my PDF class’ code: And here’s the code of the PDF generation butto…