Click or drag to resize

deleteOption Method

Deletes an existing PdfOption Class of this ComboField or ListField.

Syntax
JavaScript
function deleteOption(index);

Parameters

name

Type: Integer

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

Return Value

Type: Boolean

Returns true if the operation completed successfully; otherwise, false.

Remarks

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

This method can not be called on objects where isLocked Method is true. unlock Method must be called first.

See Also
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!