locked
iTextSharp - add a table at an absolute position RRS feed

  • Question

  • User1536465747 posted

    I have set up the margins to top 70 and bottom 30.

    I have added some paragraphs and stuff in the first half of the page and now i need to add a 4 rows table with cells having diff paddings to the bottom.

    I figured out that i should use SpaceBefore for the table object. But, how for god's sake to calculate how much. Page.Height minus something but what the something can be? Should i find the heightof the table and also the content before the table maybe?



    Thanks


    PS: I would like to add a table at an absolute position but, without having the table added to a PdfContentByte object using the writeSelectedRows()
    method.

    Thursday, January 13, 2011 9:24 PM

All replies

  • User1536465747 posted

    anyone familiar with itextsharp please?

    Friday, January 14, 2011 8:08 PM