Re: [iText-questions] Using PdfPCellEvent

2006-03-31 Thread Bruno Lowagie
Chris Fong wrote: public void cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) { PdfContentByte cb = canvases[PdfPTable.TEXTCANVAS]; Use PdfPTable.BACKGROUNDCANVAS instead of TEXTCANVAS. What's happening now is that it seem to draw the text from the parag

[iText-questions] Using PdfPCellEvent

2006-03-30 Thread Chris Fong
Hi everyone,I have a question with using PdfPCellEvent.  I have a class that implements this interface like this.class CrossEvent implements PdfPCellEvent{    public void cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) {         PdfContentByte cb = canvases[PdfPTable.TEXTCA