get method

TextField get(
  1. int index
)

Gets an item of the TextFieldList object.

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

Implementation

TextField get(int index) {
  TextField textFieldItem = TextField();
  var err = documentSDK.id3DocumentTextFieldList_Get(_pHandle.value, index, textFieldItem.handle);
  if (err != DocumentError.success.value) {
    textFieldItem.dispose();
    throw DocumentException(err);
  }
  return textFieldItem;
}