THPDFLoadedFormField.OptionValue Method
Returns an option value by zero-based option index
Declaration
function OptionValue(OptionIndex: Integer): AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
OptionIndex | Zero-based option index between 0 and OptionCount - 1 |
Return value
The option value string, or an empty string when the index lies outside the range
Usage notes
- Forwards to THotPDF.GetFormFieldOptionValue
- Bound the loop with OptionCount