RemoveAllItem

Description

Removes all items.

Applies to

PDFFormFieldComboBox object

PDFFormFieldListBox object

Syntax

long RemoveAllItem()

Return value

Long. Returns 1 if it succeeds. If an error occurs, returns the Error Codes. Otherwise, returns null.

Example

The following code example removes all the items in the PDFFormFieldComboBox object lpdf_combobox.

long ll_return ,ll_return1
ll_return1 = lpdf_combobox.removeallitem()

See also

SetItemList

AddItem

GetItemCount

GetItem

RemoveItem

SetReadOnly

GetReadOnly