Kumar:
Even with the suggested solution, your table is not going to work very well.
For example, setWidths() does not work the way you're using it. Secondly,
why are you using a command that sets the alignment for all cells to right,
and then setting individual cells to right?
I am fairly sure
Instead of using alignment on the cell level I'm using alignment of a
paragraph.
see the following code:
PdfPTable tbl=new PdfPTable(3);
PdfPCell cell1;
PdfPCell cell2;
PdfPCell cell3;
Paragraph p;
cell1=new PdfPCell();
cell2=new PdfPCell(
Rewrite your post in a way that makes sense.
Paulo
> -Original Message-
> From: Thilip Kumar S [mailto:[email protected]]
> Sent: Friday, September 18, 2009 8:52 AM
> To: [email protected]
> Subject: [iText-questions] Cell Alignment
>
&
Hi
Im trying to generate the PDF with 3 column. My requirement is , I need
to have 3 columns in report, Say "Cust Name", "Account No", "Paid Amount".
In this case, the first 2 cells should be aligned left, the 3rd one should
be aligned right , as its a numeric value.
Im trying l
[EMAIL PROTECTED] wrote:
> hallo all together
>
> i have a huge problem!
Your huge problem being unable to read the documentation?
> if i m adding paragraphs to a cell the aligment of align_middle isn't working.
You are mixing 'text mode' with 'composite mode' in your code snippet.
The first t
hallo all together
i have a huge problem! if i m adding paragraphs to a cell the aligment of
align_middle isn t working. so any ideas how i could fix it?
thanks for your help
Simon
sourcecode:
For n As Integer = 0 To splitter.Length - 1
pstring
[EMAIL PROTECTED] wrote:
> Hi again ,
>
> I think , the code I sent earlier was way too big and confusing for any
> one to look.
Moreover, it's about creating HTML.
Not many people on this list use HtmlWriter.
(It has been ages since I used it.)
br,
Bruno
--
Hi again ,
I think , the code I sent earlier was way too big and
confusing for any one to look. I have removed all unnecessary things from it and
made it precise.
Can any one please have a look at following
request.
Thanks in advance,
Madhur Taneja
*
H
Hi,
I am using itext to print a (Grid) table in
HTML format. But I could not justify the contents inthe cells
with ALIGN_RIGHT as horizontal alignment in the cells.
I am using Table class instead
of PdfPTable class as I want the output in HTML format.
Can I use PdfP class
to produce HT
Hello all,
I have a question about cells in tables in rtf documents.
In a pdf document I can set the alignment of a cell to left, right, ...
If I do the same in a rtf document, nothing happens and the text is only
left.
Is the alignment option of cells available in rtf documents?
Thanks for your
In
http://itextdocs.lowagie.com/tutorial/objects/tables/index.html
The section on Cellheights, -alignment, -padding, -leading, -colors:
The 2nd list should be for vertical alignment rather than horizontal.
Also, for a PdfPCell containing a Paragraph, what's the difference
between
some_cell.setHo
11 matches
Mail list logo