set method

void set(
  1. int index,
  2. TextField textFieldItem
)

Sets an item of the TextFieldList object.

param index Index of the TextField item to set. param textFieldItem TextField item to set. throws DocumentException An error has occurred during Document Library execution.

Implementation

void set(int index, TextField textFieldItem) {
  var err = documentSDK.id3DocumentTextFieldList_Set(_pHandle.value, index, textFieldItem.handle);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
}