Maybe I'm wrong but I fear you'll have to set for each cell NO_BORDER

It's curious because the iText API I have says 
"
getDefaultCell
public PdfPCell getDefaultCell()

Gets the default PdfPCell that will be used as reference for all the addCell
methods except addCell(PdfPCell)."

so this makes me thinks that if u add a PdfPCell setting NO_BORDER will have
no effect

Best Regards


-----Mensaje original-----
De: Roberto Cipollini [mailto:[EMAIL PROTECTED]
Enviado el: martes 1 de julio de 2003 11:32
Para: [EMAIL PROTECTED]
Asunto: [iText-questions] border in PdfPTable


Hi.
can anyone says why i see a bordered table in my pdf even if i set no border
for my PdfPtable?

PdfPTable footer = new PdfPTable(1);
footer.setTotalWidth(convertToPoints(50)); //convertToPoints: method to
convert from millimeters to point
footer.getDefaultCell().setBorder(com.lowagie.text.Rectangle.NO_BORDER);


thanks
Roberto

-----------------------------------------------------------------------
Este mensaje y los documentos, que en su caso, lleve anexos, pueden
contener informacion confidencial y ataņe exclusivamente a las personas
a las que va dirigido. Cualquier opinion en el contenida, es exclusiva de
su autor y no representa necesariamente la opinion de AZERTIA.
Si usted no es el destinatario de este mensaje, considerese advertido de
que lo ha recibido por error y que cualquier uso, difusion o copia estan
prohibidos legalmente. Si ha recibido este mensaje por error, le rogamos
que nos lo comunique por la misma via o al telefono 93 207 55 11 y proceda
a destruirlo inmediatamente.  

This email is confidential and intended solely for the use of the individual
to whom it is addressed. Any views or opinions presented are solely those
of the author and do not necessarily represent those of AZERTIA.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing,
or copying of this email is strictly prohibited.
If you have received this email in error please notify it to AZERTIA
by telephone on number +34 93 207 55 11.
-----------------------------------------------------------------------


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to