开发者

java2pdf,how to set the height of cell

开发者_运维问答java project well,i have to make pdf file. i use com.lowagie.text.Table and com.lowagie.text.Cell i put many Cell in one Table. each Cell's width can be assign.but the height cannot. so the pdf file is not very beautiful.the height really sucks me.anyone can help me ?thanks


Here you can find an exemple on how to set the heigth of a pdf cell using itext. you can pass your com.lowagie.text.Cell as a parameter to the pdfCell constructor.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜