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

GemBox.Pdf supports exporting PDF interactive form data either in Forms Data Format (FDF) or XML Forms Data Format (XFDF).

The following example shows how you can export interactive form data.

PDF interactive form data exported with GemBox.Pdf
Screenshot of PDF interactive form data exported with GemBox.Pdf
Upload your file (Drag file here)
using GemBox.Pdf;
using GemBox.Pdf.Forms;

class Program
{
    static void Main()
    {
        // If using Professional version, put your serial key below.
        ComponentInfo.SetLicense("FREE-LIMITED-KEY");

        using (var document = PdfDocument.Load("%InputFileName%"))
            document.Form.ExportData("Form Data.%OutputFileType%");
    }
}
Imports GemBox.Pdf
Imports GemBox.Pdf.Forms

Module Program

    Sub Main()

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

        Using document = PdfDocument.Load("%InputFileName%")
            document.Form.ExportData("Form Data.%OutputFileType%")
        End Using
    End Sub
End Module

Want more?

Next example GitHub

Check the next example or select an example from the menu. You can also download our examples from the GitHub.


Like it?

Download Buy

If you want to try the GemBox.Pdf yourself, you can download the free version. It delivers the same performance and set of features as the professional version, but with some operations limited. To remove the limitation, you need to purchase a license.