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




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Form Class > CreateCheckBox Method : CreateCheckBox(String,CheckBoxWidgetAnnotation) Method
The full name of the field to add, including partial names.
The check box widget containing the page and the location to insert the field.
Add a new CheckBox to a PDF page.
Syntax
'Declaration
 
Public Overloads Function CreateCheckBox( _
   ByVal fullName As String, _
   ByVal widget As CheckBoxWidgetAnnotation _
) As CheckBox
'Usage
 
Dim instance As Form
Dim fullName As String
Dim widget As CheckBoxWidgetAnnotation
Dim value As CheckBox
 
value = instance.CreateCheckBox(fullName, widget)
public CheckBox CreateCheckBox( 
   string fullName,
   CheckBoxWidgetAnnotation widget
)
public: CheckBox* CreateCheckBox( 
   string* fullName,
   CheckBoxWidgetAnnotation* widget
) 
public:
CheckBox^ CreateCheckBox( 
   String^ fullName,
   CheckBoxWidgetAnnotation^ widget
) 

Parameters

fullName
The full name of the field to add, including partial names.
widget
The check box widget containing the page and the location to insert the field.

Return Value

A newly-added CheckBox field.
Exceptions
ExceptionDescription
Thrown when an error occurs during method execution. Additional information about the error may be found in the message of the exception. Commonly occurs when the widget argument is null or the fullName argument is null or empty.
See Also

Reference

Form Class
Form Members
Overload List

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