Karen Vardanyan wrote:

In the FloatingBoxes example Demonstrates how to simulate cellspacing as in HTML.

Yes.

How can be modified borderWidth in FloatingBoxes example, for each cell individually ?

I wouldn't adapt the FloatingBoxes example, but write a new one instead.
Adapting examples without understanding the different concepts behind it
can lead to curious effects (as you may have experienced).

Start writing some code that adds a table that has no borders whatsoever.
Test.
Write a PdfPCellEvent class that draws a border and use it in your code.
Test.
Adapt your cell event by playing with some PdfContentByte methods,
for instance setLineWidth.
Test.

br,
Bruno


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to