GetReadOnly

Description

Gets the readonly state of the current object.

Applies to

PDFFormFieldCheckBox object

PDFFormFieldComboBox object

PDFFormFieldGroup object

PDFFormFieldListBox object

PDFFormFieldPushButton object

PDFFormFieldText object

Syntax

boolean GetReadOnly()

Return value

Boolean.

Returns True if the object is readonly, or False if the object is editable.

Examples

This example gets the readonly state of the current object lb_readonly.

boolean lb_readonly
//Get the readonly state of lb_readonly
lb_readonly = lpdf_checkbox.getreadonly()

See also

SetReadOnly