How to get caption for a checkbox

We are currently evaluating Aspose.PDF.Kit. While processing a PDF Form to fill inputs, it would be useful to me if I could get the caption text for a checkbox. For example, in the attached sample PDF, there are checkboxes “Football”, “Baseball”, “Basketball”, “NASCAR”, “Hockey”. I’m looking for the API or series of calls that gets me “Football” or “Baseball”, etc., given the checkbox field name. So far, I haven’t found any way to do that. Is there any way this can be done, or is the caption text simply not associated with the checkbox?

Hi Jeff,


Thanks for contacting support and sorry for the delayed response.

Aspose.Pdf for .NET supports the feature to get Partial as well as Full name of form field present inside PDF document. Please follow the instructions specified over following link for information on how to Get Values from all the Fields of PDF Document.

Furthermore, please note that the values assigned to form field can be retrieved and I am afraid the labels appearing near the form field cannot be retrieved.