Option

Overview

Option is a class in Aspose.PDF FOSS for .NET.

Class represents option of choice field.

This class declares 1 method for Option objects in .NET programs. Available methods include: Option. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Index, Name, Selected, Value.

Properties

NameTypeAccessDescription
IndexintRead1-based position of this option within its owning collection.
NamestringRead/WriteDisplay name shown in the choice UI.
SelectedboolRead/WriteWhether this option is currently selected on the owning field.
ValuestringRead/WriteExport value written to the PDF when this option is selected.

Methods

SignatureDescription
Option(value: string, name: string)Creates an option with the given export value and display name.

See Also

 English