Neha Yadav wrote:
> 
> hi 
>   I  referred the examples from the itext book for ColumnText would you
> please tell me which perticular chapter or example should I refer again.

You should read chapter 7 in the first edition,
or chapter 3 in the second edition.

Which examples? All of them.

In your code-2, you define left and right borders for
two columns. I thought you needed to do this for 4 sectors
on the page, so I wonder why you aren't defining 4 rectangles
instead of two pairs of X and Y values.

Now you have the top and the bottom hardcoded in the
setSimpleColumn() method.

Moreover: you define two pairs of X and Y values (a left
and a right border), but you only use one X and one Y.
I don't see you changing column to 1 anywhere.
So you aren't using "(PageSize.A4.width() / 2) + 18"
and "PageSize.A4.width() - 36" anywhere.

It's hard to imagine why it surprises you that the second
column doesn't show up on the page.

I have the impression that you didn't read the chapters
mentioned above, because it looks like you don't know
what the variable "column" is meant for.

Please read the chapters that were advised and come back
later if you know more.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to