Hi,
I have created a rotated form field(90 ) in a PDF File.
Code in PDF File:
3 0 obj<</TU(Feldbeschreibung)/Ff 4096/F
4/Type/Annot/Subtype/Widget/DR<</Font<</Helv 2 0
R>>>>/T(Feldname)/V()/AP<</N 1 0 R>>/MK<</R 90>>/BS<</W
1/S/S>>/FT/Tx/Rect[100 400 120 500]/DA(/Helv 10 Tf 0 g )>>
endobj
1 0 obj <</Type/XObject/Resources<</ProcSet [/PDF /Text /ImageB
/ImageC /ImageI]/Font<</Helv 2 0 R>>>>/Subtype/Form/BBox[0 0 20
100]/Matrix[0 1 -1 0 100 0]/Length 18/FormType
1/Filter/FlateDecode>>stream
xœÓ PpòuVpb
Then i have filled this field with
AcroFields.setField("Feldname",
"Test").
Code in filled PDF File:
6 0 obj<</TU(Feldbeschreibung)/Ff 4096/F
4/Type/Annot/Subtype/Widget/DR<</Font<</Helv 5 0
R>>>>/T(Feldname)/V(Test)/AP<</N 1 0 R>>/MK<</R 90>>/BS<</W
1/S/S>>/FT/Tx/Rect[100 400 120 500]/DA(/Helv 10 Tf 0 g )>>
endobj
1 0 obj <</Type/XObject/Resources<</ProcSet [/PDF /Text /ImageB
/ImageC /ImageI]>>/Subtype/Form/BBox[0 0 100 20]/Matrix[0 1 -1
0 20
0]/Length 22/FormType 1/Filter/FlateDecode>>stream
xœ+TTÐ PpòuVpb
Value of attributes /BBox and /Matrix have changed
/BBox[0 0 20 100] to /BBox[0 0 100 20] and
/Matrix[0 1 -1 0 100 0] to /Matrix[0 1 -1 0 20 0]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/