I am using PdfStamper to create PDF at run time. My problem is that I am not able to increase the font size of a PDF field. I have tried this but no luck,
stamper.AcroFields.SetFieldProperty("names", "textsize", 4f, null);
Font font = FontFactory.GetFont(FontFactory.COURIER, 2f, iTextSharp.text.Font.BOLD);
stamper.AcroFields.AddSubstitutionFont(font.BaseFont);