File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IText Problem with left and right spacing while creating nested tables

 
Varun Annand
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friend,
I am using IText version 5 and I am trying to create a nested table but it always leaves space to the left and right even after calling the method cell.settPadding(0)
My final solution has been to set cell padding to a negative value... c1.setPaddingLeft(-27);

This has solved the issue only to an extent
But there is still spacing left at the right.
Moreover, setting padding to negative value seems less than satisfactory solution.
Filename: newImg.bmp
Description: Image of pdf after setting padding negative
File size: 1007 Kbytes
[Download newImg.bmp] Download Attachment
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic