Package com.evopdf

# Class PdfFormCheckBox

java.lang.Object
com.evopdf.PdfFormField
com.evopdf.PdfFormCheckBox

public class PdfFormCheckBox extends PdfFormField
Represents a check box in a PDF form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PdfFormCheckBox(RectangleFloat box, boolean isChecked)`
  Constructs a check box form fields

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `checked()`
  Gets the initial status of the PDF form check box control
  `void`
  `setChecked(boolean isChecked)`
  Sets the initial status of the PDF form check box control

  ### Methods inherited from class com.evopdf.PdfFormField

  `boundingRectangle, defaultValue, export, flatten, name, parentForm, readOnly, required, setAction, setBoundingRectangle, setDefaultValue, setExport, setFlatten, setName, setReadOnly, setRequired, setStyle, setToolTip, style, toolTip`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PdfFormCheckBox

    public PdfFormCheckBox(RectangleFloat box, boolean isChecked)
    Constructs a check box form fields
    Parameters:
      `box` - the check box control bounding box
      `isChecked` - the checked state of the text box

- ## Method Details

  - ### checked

    public boolean checked()
    Gets the initial status of the PDF form check box control
    Returns:
      the initial status of the PDF form check box control

  - ### setChecked

    public void setChecked(boolean isChecked)
    Sets the initial status of the PDF form check box control
    Parameters:
      `isChecked` - the initial status to set