Articles in this section
Category / Section

How to Import FDF into a PDF form in WinForms?

5 mins read

It is possible to import FDF into a PDF form in .NET PDF library. To achieve this, you can load FDF file in the FileStream, then import the FDF stream data in the PdfLoadedForm.

C#

//Load an existing document.
PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf");
// Load the existing form
PdfLoadedForm form = doc.Form;
// Load the FDF file
FileStream stream = new FileStream("ImportFDF.fdf", FileMode.Open);
// Import the FDF stream
form.ImportDataFDF(stream,true);
//Save the document and dispose it.
doc.Save("Import.pdf");
doc.Close();

 

Sample Link

https://www.syncfusion.com/downloads/support/directtrac/general/FDF-1575712085.zip


Conclusion
I hope you enjoyed learning how to import FDF into a PDF form in WinForms.

You can refer to our WinForms PDF feature tour page to learn about its other groundbreaking feature representations and documentation to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied