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.
精彩评论