Server-side extraction
Inspect completed form data
Read the bundled completed vendor form directly on the server and inspect its fields as structured JSON.
AcroForm inputRead the completed PDF
The server extracts values without rendering or modifying the document.
PDF → JSON
InputCompleted PDF
OperationField extraction
RenderingNot required
OutputStructured JSON
Extraction resultForm field values
Each entry includes the field identity, type, value, and PDF properties.
JSON
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Read completed PDF forms without a viewer
Completed AcroForm values can be extracted directly from PDF bytes on the server. This is useful for intake pipelines, validation services, and archiving workflows that do not need to render the document.
The structured result includes each field's identity, type, value, and PDF-specific properties provided by the form-field object.
API used
Forms.GetAcroFormFields
Key members
Forms.GetAcroFormFields reads field definitions and completed values directly from the PDF without opening a viewer.
var fields = Forms.GetAcroFormFields(pdfPath);
var json = JsonSerializer.Serialize(fields, new JsonSerializerOptions
{
WriteIndented = true
});
How it works
The endpoint passes the completed PDF file to Forms.GetAcroFormFields and serializes the returned form-field objects as indented JSON.
NuGet packages
TXTextControl.TextControl.Core.SDK
34.0.4
Provides the core document model and server-side document processing APIs.
dotnet add package TXTextControl.TextControl.Core.SDK --version 34.0.4
Displays supported document and PDF formats in the browser.
dotnet add package TXTextControl.Web.DocumentViewer --version 34.2.0
Source files
See the implementation
The complete demo is encapsulated in Demos/Pdf/FormsProcessing/FormDataExtraction.