 | ChoiceFieldAddNewItem Method |
Creates a new choice item.
The item is automatically added to the choice field's
Items.
Namespace: PdfTools.Toolbox.Pdf.FormsAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.11.0+eb7160cc6b920e36fb1ea2abe5f76809067c0c55
Syntaxpublic ChoiceItem AddNewItem(
string displayName
)
Parameters
- displayName String
-
this item's display name
Return Value
ChoiceItem
the newly created choice item
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | if the object has already been closed |
| InvalidOperationException | if the form field has widgets |
| NotSupportedException | the document is read-only |
See Also