>FdfReader fdfReader = new FdfReader("c:\\apps5\\nexus\\Omaha_IAF.fdf"); >PdfReader pdfReader = new PdfReader("c:\\apps5\\nexus\\Omaha_IAF.pdf"); > >PdfStamper stamper = new PdfStamper(pdfReader, new FileStream("c:\\apps5\\nexus\\Omaha_IAF_Test.pdf", FileMode.Create), '\0', true); >stamper.AcroFields.SetFields(fdfReader); >AcroFields Form = stamper.AcroFields; >PushbuttonField Cmd = Form.GetNewPushbuttonFromField("cmdSignature"); >Cmd.Layout = PushbuttonField.LAYOUT_ICON_ONLY; >Cmd.ProportionalIcon = true; >Cmd.BorderWidth = 0; >Cmd.Visibility = BaseField.VISIBLE; >Cmd.Image = iTextSharp.text.Image.GetInstance("e:\\marcia\\AkSig.tif"); >Boolean Success = Form.ReplacePushbuttonField("cmdSignature", Cmd.Field); >Form.RenameField("cmdSignature", "cmdActualSignature"); >stamper.Close(); > >axAcroPDF1.LoadFile("c:\\apps5\\nexus\\Omaha_IAF_Test.pdf"); >axAcroPDF1.setShowToolbar(true); >>