Please post your questions only to the itext-list. That way they are  
archived. Depending on how much time I've got, questions not to the  
list go unanswered.

On 14.02.2007, at 14:33, Raghu wrote:

> setting the alignment  on the image worked for both scenarios.
>
> But how about setting TWO Alignments at same time horizontal center
> ,vertically - middle)
> Example:
>    ImageHeaderCenter.setAlignment(Element.ALIGN_MIDDLE);
>    ImageHeaderCenter.setAlignment(Element.ALIGN_CENTER);
Well setting Element.ALIGN_MIDDLE on the Paragraph won't do you much  
good. The Paragraph doesn't know about vertical alignments, how  
should it. Try looking at the API documentation and you will see that  
there is a setVerticalAlignment method for the Cell object. That  
might work.

Greetings,
Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to