Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# TextFieldList.add Method

Module: TextFieldList

## Definition

Adds an item to the TextFieldList object.

Python

    add(self, text_field_item: TextField) -> None

Parameters

> `text_field_item` TextField
> in TextField item to add.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    void add(TextField textFieldItem)

Parameters

> `textFieldItem` TextField
> in TextField item to add.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public void Add(TextField textFieldItem)

Parameters

> `textFieldItem` TextField
> in TextField item to add.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public void add(TextField textFieldItem) throws DocumentException

Parameters

> `textFieldItem` TextField
> in TextField item to add.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public func add(textFieldItem: TextField) throws

Parameters

> `textFieldItem` TextField
> in TextField item to add.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentTextFieldList_Add (
        ID3_DOCUMENT_TEXT_FIELD_LIST hTextFieldList,
        ID3_DOCUMENT_TEXT_FIELD hTextFieldItem)

Parameters

> `hTextFieldList` ID3_DOCUMENT_TEXT_FIELD_LIST
> in Handle to the TextFieldList object.
> `hTextFieldItem` ID3_DOCUMENT_TEXT_FIELD
> in TextField item to add.

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.