Thank you very much for your response. I figured it out how to do it. 
One more question. Do you know if the following statement works?

            cel.setVerticalAlignment("CENTER");

It didn't work for me somehow. cel.setHorizontalAlignment("CENTER"); 
works just fine.

-Henry

Mark Hall wrote:

>On Friday 17 November 2006 14:34, Henry Lu wrote:
>  
>
>>To display only bottom line of border of header, I have code:
>>
>>But it displays whole border.
>>
>>Why? How to get it worked?
>>    
>>
>The code looks ok. Either you are running into a really weird bug (in which 
>case perhaps you could send the offending RTF file) or you have failed to 
>understand what Bruno wrote in his first E-Mail.
>
>Word always displays a border on screen, even if none is defined. Print the 
>document and only the defined borders will show up.
>
>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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to