ImageGear PDF v25.2 - Updated
AddOption(CheckBoxWidgetAnnotation,String) Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > CheckBox Class > AddOption Method : AddOption(CheckBoxWidgetAnnotation,String) Method
The check box widget for the field. It contains both the page, location and size information.
The export value of the new check box option.
Adds an option to the CheckBox. The option can be anywhere in the document.
Syntax
'Declaration
 
Public Overloads Function AddOption( _
   ByVal widget As CheckBoxWidgetAnnotation, _
   ByVal exportValue As String _
) As ChoiceOption
'Usage
 
Dim instance As CheckBox
Dim widget As CheckBoxWidgetAnnotation
Dim exportValue As String
Dim value As ChoiceOption
 
value = instance.AddOption(widget, exportValue)

Parameters

widget
The check box widget for the field. It contains both the page, location and size information.
exportValue
The export value of the new check box option.

Return Value

A newly-added ChoiceOption.
See Also

Reference

CheckBox Class
CheckBox Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.