Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFChoiceField.IndexOf(string) Method

Searches the field’s item by its display value.

#Declaration

Delphi
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