Click or drag to resize

getOption Method

Gets a PdfOption Class representing an option of this ComboField or ListField.

Syntax
JavaScript
function getOption(index);

Parameters

index

Type: Integer

The zero-based index of an option in this PdfObject Class.

Return Value

Type: PdfOption Class

A new PdfOption Class instance if the operation completed successfully; otherwise, null.

Remarks

This method must only be called on objects where the getType Method is a ComboField or ListField.

See Also