iText - crop out a part of pdf file
问题 I have a small problem and I'm trying for some time to find out a solution. Long story short I have to remove the top part of each page from a pdf with itext. I managed to do this with CROPBOX , but the problem is that this will make the pages smaller by removing the top part. Can someone help me to implement this so the page size remains the same. My idea would be to override the top page with a white rectangle, but after many tries I didn't manage to do this. This is the current code I'm