The problem is the buttons on the right, are they so wrong ?... if I don't place the buttons everythings is nice ;(
code: Dim order_rec As New iTextSharp.text.Rectangle(llx:=PdfTabelRightX - 30, lly:=PdfTabelUpperStart + -PdfTabelRowHeightBom + Mod_RowNo * PdfTabelRowHeightBom * -1, urx:=PdfTabelRightX, ury:=PdfTabelUpperStart + Mod_RowNo * PdfTabelRowHeightBom * -1) '-2 Dim order_btn As New iTextSharp.text.pdf.PushbuttonField(stamp.Writer, order_rec, Create_Hashcode(6)) order_btn.Layout = iTextSharp.text.pdf.PushbuttonField.LAYOUT_ICON_ONLY order_btn.ScaleIcon = iTextSharp.text.pdf.PushbuttonField.SCALE_ICON_ALWAYS order_btn.Image = cartimg order_btn.Visibility = iTextSharp.text.pdf.BaseField.VISIBLE order_button_field = order_btn.Field Dim js As String = MakeOrderButtons_JSorder(Machine, Node.Parent.Tag(NodeTag_MatNr), Node.Tag(NodeTag_Pos), Node.Tag(NodeTag_Amount), Node.Tag(NodeTag_MatNr), Node.Tag(NodeTag_MatDesc)) Dim js_action As iTextSharp.text.pdf.PdfAction = iTextSharp.text.pdf.PdfAction.JavaScript(js, stamp.Writer(), True) order_button_field.Action = js_action order_button_field.UserName = "add to list" If Node.Tag(NodeTag_PDFwherePage) = 0 Then LogWrite(Node, "Fehler beim erstellen vom Bestell-Button: PDFwherePage = 0") Else stamp.AddAnnotation(order_button_field, Mod_PageNo) End If -- View this message in context: http://itext-general.2136553.n4.nabble.com/Form-is-messed-up-with-CopyAcroForm-and-itextsharp-has-been-working-with-5-1-2-0-tp4658754p4658757.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&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