TdxPDFChoiceField.IndexOf(string) Method
Searches the field’s item by its display value.
Declaration
function IndexOf(const AValue: string): Integer;
Parameters
Name | Type | Description |
---|---|---|
AValue | string | The target field item’s display value. |
Returns
Type | Description |
---|---|
Integer | The index of the target field item. The function returns -1 if the field has no item with a matching display value. |
See Also