Hi,

I'm using iTetSharp 5.0.6.

While creating some tables for a document (actually a list of items
formatted using a PDFPTable), I initially turned off the borders on the
tables' DefaultCell, then turned it back on, for debugging purposes, and now
they stay on even though I set the table's DefaultCell.Border to 0 or
Rectagle.NO_BORDER

This is the code I use to create each table:

            var table = new PdfPTable(block.Widths);
            table.WidthPercentage = 100f;
            table.DefaultCell.Border = Rectangle.NO_BORDER;

            // insert data into the cells

            _document.Add(table);

block.Widths is an array of floats, the column widths in points.

Does anyone have any idea of what I'm doing wrong?
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to