|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Use images as PdfPTable BorderGuys
I'm trying to add a number of tables to a pdf document, simple enough, yes! However I need the table border to be in a particular style. I have been given me a number of images which I need to use to generate the table border to match current branding. Simple in terms of html but iTextSharp? Any help or examples would be most welcome, especially as the table contents will be dynamic. I am presuming that I will need an outer table that contains the border and then a central inner table that contains the content. I would be grateful for any examples. Cheers |
|
|
Re: Use images as PdfPTable BorderIt would be helpful to see an image with that table with the border.
Paulo > -----Original Message----- > From: Wayne Busby [mailto:wayne.busby@...] > Sent: Monday, September 07, 2009 4:40 PM > To: itextsharp-questions@... > Subject: [itextsharp-questions] Use images as PdfPTable Border > > > Guys > > I'm trying to add a number of tables to a pdf document, > simple enough, yes! > However I need the table border to be in a particular style. > I have been > given me a number of images which I need to use to generate > the table border > to match current branding. Simple in terms of html but iTextSharp? > > Any help or examples would be most welcome, especially as the > table contents > will be dynamic. > > I am presuming that I will need an outer table that contains > the border and > then a central inner table that contains the content. I > would be grateful > for any examples. > > Cheers Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Use images as PdfPTable BorderNo need to worry sorted it by using Table Events and calulating the position of the images based upon the widths and heights array. Failry simple in the end.
If you need example code let me know. I've attached a resulting example, I've tested the code and it works with any table no matter how many rows or columns.
![]() |
| Free embeddable forum powered by Nabble | Forum Help |