Option

Overview

Option is a class in Aspose.Pdf FOSS for Java.

A single option in a choice field (ComboBox/ListBox).

Properties

NameTypeAccessDescription
valueStringReadReturns the export value of this option.
displayNameStringReadReturns the display name of this option.

Methods

SignatureDescription
Option(value: String, displayName: String)Constructs an option with the given value and display name.
getValue()StringReturns the export value of this option.
getDisplayName()StringReturns the display name of this option.
toString()StringReturns the display name if available, otherwise the value.

See Also