Export PDF interactive form data

The following example shows how you can use GemBox.Pdf to export interactive form data.

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

class Program
{
    static void Main()
    {
        // If using the 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 the 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
PDF interactive form data exported with GemBox.Pdf
Screenshot of PDF interactive form data exported with GemBox.Pdf

See also


Next steps

GemBox.Pdf is a .NET component 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.

Download Buy