iText landscape orientation and positioning?

前端 未结 4 1751
名媛妹妹
名媛妹妹 2021-02-05 01:22

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.

  • Creating documents in landscap
4条回答
  •  伪装坚强ぢ
    2021-02-05 02:14

    Document d = new Document(PageSize.A4.rotate(), 10f, 10f, 10f, 0f);
    

    this worked for me i just hacked off some bits from the one above

提交回复
热议问题