如何用iTextSharp设置PDF段落或字体行高? [英] How to set PDF paragraph or font line-height with iTextSharp?

查看:561
本文介绍了如何用iTextSharp设置PDF段落或字体行高?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用iTextSharp更改PDF字体或段落的行高?

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

推荐答案

排版被称为领先。如果可以使用行间距,可以使用Paragraph.Leading或Paragraph.LeadingMultiplier。请参阅 http://itextsharp.sourceforge.net/tutorial/ch02.html#phrase

Line spacing in terms of typography is called leading. If you can use line spacing, you can use Paragraph.Leading or Paragraph.LeadingMultiplier. See http://itextsharp.sourceforge.net/tutorial/ch02.html#phrase

这篇关于如何用iTextSharp设置PDF段落或字体行高?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆