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

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

问题描述

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

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

推荐答案

行间距被称为领先。如果您可以使用行距,可以使用Paragraph.Leading或Paragraph.LeadingMultiplier。见<一href=\"http://itextsharp.sourceforge.net/tutorial/ch02.html#phrase\">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

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

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