Export PDF interactive form data in C# and VB.NET

The following example shows how you can use the GemBox.Pdf library to export interactive form data in your C# and VB.NET applications:

Upload your file (Drag file here)
using GemBox.Pdf;
using GemBox.Pdf.Forms;

// If using the Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY");

using (var document = PdfDocument.Load("FormFilled.pdf"))
document.Form.ExportData("Form Data.fdf");
Imports GemBox.Pdf
Imports GemBox.Pdf.Forms

Module Program

Sub Main()

' If using the Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY")

Using document = PdfDocument.Load("FormFilled.pdf")
document.Form.ExportData("Form Data.fdf")
End Using
End Sub
End Module
PDF interactive form data exported with GemBox.Pdf
A screenshot of PDF interactive form data exported with GemBox.Pdf

Next steps

GemBox.Pdf is a .NET library that enables developers to read, merge and split PDF files or execute low-level object manipulations from .NET applications in a simple and efficient way.