Option

Overview

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

Class represents option of choice field.

This class provides 1 method for working with Option objects in .NET programs. Available methods include: Option. All 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)Calls Option on this Option instance.

See Also