How to set PDF paragraph or font line-height with iTextSharp?

后端 未结 3 1761
悲哀的现实
悲哀的现实 2021-02-07 08:00

How can I change the line-height of a PDF font or paragraph using iTextSharp?

3条回答
  •  离开以前
    2021-02-07 08:21

    paragraph.SetLeading(X, Y) where X - is fixed leading and Y is leading multiplayer. Leading is space between two text baselines. Final leading value is calculated like: X+Y*max font size in row.

提交回复
热议问题