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




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > CheckBox Class > AddOption Method : AddOption(ImGearPDFPage,ImGearPDFFixedRect,String) Method
The page of the new CheckBox option.
The bounds of the new CheckBox option.
The export value of the new CheckBox option.
Adds an option to the CheckBox. The option can be anywhere in the document.
Syntax
'Declaration
 
Public Overloads Function AddOption( _
   ByVal page As ImGearPDFPage, _
   ByVal rect As ImGearPDFFixedRect, _
   ByVal exportValue As String _
) As ChoiceOption
'Usage
 
Dim instance As CheckBox
Dim page As ImGearPDFPage
Dim rect As ImGearPDFFixedRect
Dim exportValue As String
Dim value As ChoiceOption
 
value = instance.AddOption(page, rect, exportValue)
public ChoiceOption AddOption( 
   ImGearPDFPage page,
   ImGearPDFFixedRect rect,
   string exportValue
)
public: ChoiceOption* AddOption( 
   ImGearPDFPage* page,
   ImGearPDFFixedRect* rect,
   string* exportValue
) 
public:
ChoiceOption^ AddOption( 
   ImGearPDFPage^ page,
   ImGearPDFFixedRect^ rect,
   String^ exportValue
) 

Parameters

page
The page of the new CheckBox option.
rect
The bounds of the new CheckBox option.
exportValue
The export value of the new CheckBox 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.