4-Heights® PDF Toolbox SDK
4-Heights® PDF Toolbox SDK
Namespaces
PdfTools.FourHeights.PdfToolbox.Pdf.Forms
ChoiceField Class
ChoiceField Methods
AddNewItem Method
Choice
Field
Add
New
Item Method
Creates a new choice item. The item is automatically added to the choice field's
Items
.
Namespace:
PdfTools.FourHeights.PdfToolbox.Pdf.Forms
Assembly:
PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 1.0.0
Syntax
C#
Copy
public
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
Reference
ChoiceField Class
PdfTools.FourHeights.PdfToolbox.Pdf.Forms Namespace
Copyright © PDF Tools AG 2023