![Pdftools logo](../icons/pdftools-icon.png) | ListBoxChosenItems Property |
The selected choice items
Adding to this list results in an error:
- IllegalState
-
if the list has already been closed
-
if the choice field is marked a read-only
-
if this list is not empty and the list box field is not marked as multi-select
-
if the choice field has widgets
- UnsupportedOperation if the document is read-only
- IllegalArgument
-
if the given choice item is
-
if the given choice item has already been closed
-
if the given choice item is already present in this list
-
if the given choice item does not belong to the list box field's choice items
Removing items or clearing the list results in an IllegalState error if the form field is marked as read-only, or if it has widgets.
Namespace: PdfTools.FourHeights.PdfToolbox.Pdf.FormsAssembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.1+cd45f416896d630bcd3719f4b2cba7920f2790da
Syntaxpublic ChoiceItemList ChosenItems { get; }
Property Value
ChoiceItemList
ExceptionsException | Condition |
---|
InvalidOperationException | if the object has already been closed |
See Also