You can use something like this:
BaseFont bfont = BaseFont.createFont(BaseFont.Helvetica, BaseFont.CP1250,
BaseFont.NOT_EMBADED);
acroField.setFieldProperty("fieldName", "textfont", bfont, null);
This will set fon Helvetica on acroField named fieldName.
Marco-141 wrote:
>
> precyz skandia.pl
precyz skandia.pl> writes:
>
>
> You can always change font color in acro field useing
>
> acroField.setFieldProperty(fieldName, "textcolor", java.awt.Color.YELLOW,
> null);
>
> for example.
only trasparent doesn't cover the text in under/over content. All other colors
are a problem.
I tr
You can always change font color in acro field useing
acroField.setFieldProperty(fieldName, "textcolor", java.awt.Color.YELLOW,
null);
for example.
Marco-141 wrote:
>
> Hi,
>
> this is my first question. I have to put a text over acrofields. The
> problem is that if the acrofield has a c
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Marco
> Sent: Tuesday, June 17, 2008 12:36 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Under/Over content and acrofield
>
> Hi,
>
Hi,
this is my first question. I have to put a text over acrofields. The
problem is that if the acrofield has a color background the text
doesn't go over/under the acrofield.
There's a way to put the acrofield under the text?
I use getOverContent and getOverContent methods.
Where are stor