VintaSoft PDF .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions
// get PDF page associated with the first image in image viewer Vintasoft.Imaging.Pdf.Tree.PdfPage pdfPage = Vintasoft.Imaging.Pdf.PdfDocumentController.GetPageAssociatedWithImage(imageViewer1.Images[0]); // get interactive form of PDF document Vintasoft.Imaging.Pdf.Tree.InteractiveForms.PdfDocumentInteractiveForm interactiveForm = pdfPage.Document.InteractiveForm; // get the first text field of PDF document Vintasoft.Imaging.Pdf.Tree.InteractiveForms.PdfInteractiveFormTextField firstTextField = interactiveForm.Fields[0] as Vintasoft.Imaging.Pdf.Tree.InteractiveForms.PdfInteractiveFormTextField; // change value of text field firstTextField.TextValue = "New text value"; // update appearance of text field firstTextField.Annotation.UpdateAppearance(); // reload image in image viewer imageViewer1.Images[0].Reload(true);Best regards, Alexander