SetReadOnly

Description

Sets as object as readonly.

Applies to

PDFFormFieldCheckBox object

PDFFormFieldComboBox object

PDFFormFieldGroup object

PDFFormFieldListBox object

PDFFormFieldPushButton object

PDFFormFieldText object

Syntax

SetReadOnly(boolean bReadOnly)

Argument

Description

bReadOnly

The readonly state, True or False.


Return value

None.

Examples

This statement sets a range of 1 to 10 for a progress bar control:

//Set a FormFieldCheckBox to be read-only
lpdf_checkbox.setreadonly(true)

See also

GetReadOnly