Fill AcroForm - Fill PDF Form using C#

The following code snippet also work with Aspose.PDF.Drawing library.

Fill Form Field in a PDF Document

To populate a form field, get the field from the Document object’s Form collection and set its value using the appropriate property for the field type (such as Value for text fields, Checked for check boxes, or Selected for list boxes).

In this example, various fields are selected and their properties are set.