How do I make text field to be hidden?
问题 I'd like to create a text field with iTextSharp that is not visible. Here's code I'm using to create a textfield: TextField field = new iTextSharp.text.pdf.TextField(writer, new iTextSharp.text.Rectangle(x, y - h, x + w, y), name); field.BackgroundColor = new BaseColor(bgcolor[0], bgcolor[1], bgcolor[2]); field.BorderColor = new BaseColor(bordercolor[0], bordercolor[1], bordercolor[2]); field.BorderWidth = border; field.BorderStyle = PdfBorderDictionary.STYLE_SOLID; field.Text = text; writer