KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using the opensource http://itextpdf.com/ , to create some pdf . I could create a table , but width of all column are same , I need to change the width of the particular column . PdfPTable table = new PdfPTable(6); Phrase tablePhrse = new Phrase("Sl n0", normalFontBold); PdfPCell c1 = new PdfPCell(tablePhrse); c1.setHorizontalAlignment(Element.ALIGN_CENTER); table.addCell(c1); I could not find any method to set the width of the column , pls suggest some way to do achieve this ..
Tags (comma-separated)
Save Edits
Cancel