2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
How to do Form Filling in WindowsForms using PdfViewerControl? At Present we do not have support for Form Filling in Windows Forms using PdfViewerControl. However we have created a workaround to perform the same action in Windows Forms. The following code snippet from the attached sample is an example to add a Field at particular location. C# /// <summary> /// Adds the Fields for particular page /// </summary> /// <param name="index">Index of the page</param> public void AddFields(int index) { //FormFilesDictionary contans all the fields of particlar PDF page foreach (var currentField in FormFilesDictionary[index]) { PdfPageBase page = ((PdfField)currentField).Page; //Adds a textbox if the current Field is Textbox if (currentField is PdfLoadedTextBoxField) { PdfLoadedTextBoxField txtField = currentField as PdfLoadedTextBoxField; TextBox txtBlock = new TextBox(); txtBlock.Text = txtField.Text; // Textbox will get added to the Page panel1.Controls.Add(txtBlock); } } } Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/FillableForm-1443353139
|
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.