Hello.

I add some TextFields in a PDF like so:

                                                var txtFld = new
TextField(stamper.Writer, new Rectangle(cRightX - cWidthX, cTopY3, cRightX,
cTopY), cFieldName)
                                                                     {
        
Font = bf,
        
FontSize = cHeaderFontSize,
        
Alignment = Element.ALIGN_RIGHT,
        
Options = PdfFormField.FF_MULTILINE | BaseField.REQUIRED,
                                                                     };
                                                var ff =
txtFld.GetTextField();
                                                ff.Flags =
PdfAnnotation.FLAGS_PRINT | PdfAnnotation.FLAGS_READONLY;
                                                ff.SetPage();
                                                stamper.AddAnnotation(ff,
1);

..and it works pretty much OK in all PDF viewers except the viewer in
Firefox (it uses some PDF viewer add-in as far as I can tell).
There it is displayed upside-down and at the wrong place.
It seems like it tries to render the fields with the page rotated 180
degrees, so instead of putting them on the top of the page, it puts them at
the bottom and upside-down.
Also, the field text is not selectable.
Has anyone seen anything like this before?
Is this a bug of the viewer or I'm doing sth wrong?

Thanks.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to