Click or drag to resize

FormFieldCheckBox Class

A check box field.
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.PDFFormsFormField
    ExpertPdf.Anywhere.PDFFormsFormFieldCheckBox

Namespace: ExpertPdf.Anywhere.PDFForms
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class FormFieldCheckBox : FormField

The FormFieldCheckBox type exposes the following members.

Properties
 NameDescription
Public propertyCheckedGets or sets a value indicating whether the check box is checked.
Public propertyDisplayPageGets the zero-based index of the page the field is on, or -1.
(Inherited from FormField)
Public propertyDisplayRectangleGets the field rectangle on its page (in PDF points).
(Inherited from FormField)
Public propertyFlattenGets or sets a value indicating whether this field is flattened on save.
(Inherited from FormField)
Public propertyFullNameGets the fully-qualified field name.
(Inherited from FormField)
Public propertyNameGets or sets the field name.
(Inherited from FormField)
Public propertyReadOnlyGets or sets a value indicating whether the field is read-only.
(Inherited from FormField)
Public propertyWidgetsGets the collection of widgets (visual placements) of this field.
(Inherited from FormField)
Top
Methods
 NameDescription
Public methodGetWidgetCheckedValue Gets the checked state of a specific widget, for check boxes that have more than one widget.
Public methodSetWidgetCheckedValue Sets the checked state of a specific widget, for check boxes that have more than one widget.
Top
Example
PdfFormManager manager = new PdfFormManager();
manager.Load("form.pdf");
FormFieldCheckBox agree =
    manager.Fields["agree"] as FormFieldCheckBox;
agree.Checked = true;
manager.Save("filled.pdf");
See Also