iText landscape orientation and positioning?
You’re using PageSize.A4_LANDSCAPE, a variable that was introduced by a contributor and that should have never been added to the main release. Please use PageSize.A4.rotate() instead. It’s not clear what you want to achieve with the lines: document.left(100f); document.top(150f); Those are getters, not setters. It looks as if you’re assuming that PDF is similar to … Read more