Logo
My Account |  Site Map | Contact Us  

Pdf API for .NET: Filling in PDF Form Fields

All Products
EO.Web Controls
EO.Pdf for .NET
HTML to PDF (Url)
HTML to PDF (HTML File)
HTML to PDF (HTML Markup)
ASPX To PDF
MVC To PDF
PDF Creator API
PDF Reader API
PDF Page Extraction API
PDF Splitting API
PDF Merging API
PDF Encryption API
PDF Signing API
API to Fill Form Fields
EO.Wpf for .NET
EO.WebBrowser for .NET

EO.Pdf can load a PDF file with fill-in form, fill the form fields and then save the filled document. The following sample demonstrates how to do this:

C# VB.NET  
//Load the PDF file
PdfDocument doc = new PdfDocument("c:\\registration.pdf");

//Get the First_Name field
PdfField field = doc.Fields["First_Name"];

//Set the field value
field.Value = "John";

//Save it back
doc.Save("c:\\registration.pdf");

This feature is particularly useful to automatically fill PDF forms based on information from a database, or "pre-fill" a PDF form to provide default values.

Detailed documentation and sample code about this feature can be found in the download package.

Additional Resources

  • Product Documentation

    All features are explained in great details in the product documentation. It also contains complete reference information for each type, property or method;

  • Samples

    The download package contains a wide variety of samples with full C# and Visual Basic.NET source code that demonstrate how to use different feature of the EO.Pdf library.

  • Technical Support

    Still have questions? Post in our support forum or contact us and we will answer them quickly. Our turn around time is among the best in the industry.