--- Paulo Soares <[EMAIL PROTECTED]> wrote: 
> 
> 
>> I'm using PdfAnnotation.createFreeText and would
>> like
>> to set the border color. How do I do this?
> 
> annot.setBorderStyle()
> 

I was using this but couldn't find a way to set the
border color. This is the code I am using:
annot.setBorderStyle(new
PdfBorderDictionary(1,PdfBorderDictionary.STYLE_SOLID));

There is no way (I could see) to set border color in
PdfBorderDictionary.

Could you give a specific example of how to set the
border color. Apologies if I'm missing something.

>> 
>> In Adobe 6.0 it is possible to set the opacity of
>> an
>> annotation. Is this possible with iText?
> 
> annot.put(PdfName.CA, new PdfNumber(opacity))
> 
This works, thanks.

Neil.



        
        
                
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! 
http://uk.messenger.yahoo.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to