IsReadOnly
Checks if field is read only
Inherited from ApiBaseField.IsReadOnly.
Example
Get field read only and display's it in a PDF document.
// How can I is read only using a base field in a PDF document?
// Is read only for a base field in a PDF document.
let doc = Api.GetDocument();
let page = doc.GetPage(0);
let textField = Api.CreateTextField([10, 10, 160, 30]);
page.AddObject(textField);
textField.SetValue('Read only is: ' + textField.IsReadOnly());