Actually that didn't work. Seems like the documentation says it should,
but it didn't
From: Jason Berk [mailto:[email protected]]
Sent: Monday, October 17, 2011 1:42 PM
To: [email protected]
Subject: Re: [iText-questions] Autofitting Table cells
In java you could do:
Dim cell As PdfPCell = New PdfPCell(New Phrase("Report\nDate",
georgiablack))
Not sure about #1....
Jason
From: Hugh McLaughlin [mailto:[email protected]]
Sent: Monday, October 17, 2011 12:18 PM
To: [email protected]
Subject: [iText-questions] Autofitting Table cells
Hello Everyone and thanks for your help in advance. I am new to
iTextSharp and am creating an application that utilizes tables. I would
like to accomplish two things that I can't seem to find clearly
addressed in the documentation:
1. Resize the columns based on text inside the columns. I have
found how to set the column sizes in advance, but not how to autofit.
2. How do you create a line break within the text in the column.
For example, if the heading is "Report Date", how would I create a break
after Report if I am using the code:
Dim cell As PdfPCell = New PdfPCell(New Phrase("Report Date",
georgiablack)) to create the cell and text?
Thanks for the help.
Hugh
This is a transmission from Purdue Federal Credit Union (Purdue Federal)
and is intended solely for its authorized recipient(s), and may contain
information that is confidential and or legally privileged. If you are
not an addressee, or the employee or agent responsible for delivering it
to an addressee, you are hereby notified that any use, dissemination,
distribution, publication or copying of the information contained in
this email is strictly prohibited. If you have received this
transmission in error, please notify us by telephoning (765)497-3328 or
returning the email. You are then instructed to delete the information
from your computer. Thank you for your cooperation.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
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