Skip to content

DevExpress-Examples/pdf-document-api-get-checked-appearance-name-for-check-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

PDF Document API - Obtain a Checked Appearance Name for a Check Box

Note: with the 21.1 major release, the PdfDocumentFacade class allows you to change the PDF document without access to its inner structure. Use the PdfDocumentFacade.AcroForm property to get interactive form field options. You can change form field and appearance properties.

This example shows how to get a checked appearance name for the "Female" check box and check the check box with this value.

To accomplish this task, call the GetCheckboxCheckedValue  method using a PdfDocumentProcessor instance and the field name.

To obtain interactive form data, call the PdfDocumentProcessor.GetFormData method. To check the "Female" check box, use the PdfFormData.Value property.