我正在使用iTextSharp在PDF文档中创建表.我需要在表格单元格中的几行显示一个在另一个下面,如下所示:
First line text
Second Line Text
Third Line Text
Fourth line text
Run Code Online (Sandbox Code Playgroud)
有时像这样额外的线:
First line text
Second Line Text
Third Line Text
Fourth line text
Run Code Online (Sandbox Code Playgroud)
我尝试了几种方法,使用Paragraphs,Chunks,Phrases,在线进行研究,但仍然无法得到这个结果.请帮忙.另外,如何使列动态调整宽度到内容?(不包装)谢谢