I\'ve just started to work with iText (5.4.2, latest version) and there are two things that I haven\'t yet managed to get straight.
You can use this example this is work for me
Document document = new Document(); document.setPageSize(PageSize.A4.rotate());