iText landscape orientation and positioning?

前端 未结 4 1775
名媛妹妹
名媛妹妹 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:20

    iTextSharp.text.Document pdfDoc = new iTextSharp.text.Document(iTextSharp.text.PageSize.A4.Rotate(), 10f, 10f, 10f, 0f);
    

提交回复
热议问题