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
| Name | Type | Access | Description |
|---|---|---|---|
Index | int | Read | 1-based position of this option within its owning collection. |
Name | string | Read/Write | Display name shown in the choice UI. |
Selected | bool | Read/Write | Whether this option is currently selected on the owning field. |
Value | string | Read/Write | Export value written to the PDF when this option is selected. |
Methods
| Signature | Description |
|---|---|
Option(value: string, name: string) | Calls Option on this Option instance. |