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