I'm working on a pdf file, trying to put some information over an image, I think using a table is the best way to do it. I tried to do the method described on this other question. I'm trying to achieve exactly what is described on the answer, but it seems like that is for an older version of iText and it's not exactly straight forward to update the methods and classes used there.
To further specify, I have something like this example image where the "XXXX" is a variable Text, and I want to add this same thing, including the background image, to a pdf document. I have to add multiple of these, so I was thinking on making a table, use multiple cells with the background image and then add the info on another table over each image. Please let me know if there's a better way to do this.