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




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Form Class > CreateCheckBox Method : CreateCheckBox(String,ImGearPDFPage,ImGearPDFFixedRect,String) Method
The full name of the field to add, including partial names.
The page to insert the field on.
The location on the page to insert the field.
A value indicating the string that is sent as the value of this choice when the field is submitted. ChoiceOption.ExportValue.
Add a new CheckBox to a PDF page.
Syntax
'Declaration
 
Public Overloads Function CreateCheckBox( _
   ByVal fullName As String, _
   ByVal page As ImGearPDFPage, _
   ByVal rect As ImGearPDFFixedRect, _
   ByVal exportValue As String _
) As CheckBox
'Usage
 
Dim instance As Form
Dim fullName As String
Dim page As ImGearPDFPage
Dim rect As ImGearPDFFixedRect
Dim exportValue As String
Dim value As CheckBox
 
value = instance.CreateCheckBox(fullName, page, rect, exportValue)
public CheckBox CreateCheckBox( 
   string fullName,
   ImGearPDFPage page,
   ImGearPDFFixedRect rect,
   string exportValue
)
public: CheckBox* CreateCheckBox( 
   string* fullName,
   ImGearPDFPage* page,
   ImGearPDFFixedRect* rect,
   string* exportValue
) 
public:
CheckBox^ CreateCheckBox( 
   String^ fullName,
   ImGearPDFPage^ page,
   ImGearPDFFixedRect^ rect,
   String^ exportValue
) 

Parameters

fullName
The full name of the field to add, including partial names.
page
The page to insert the field on.
rect
The location on the page to insert the field.
exportValue
A value indicating the string that is sent as the value of this choice when the field is submitted. ChoiceOption.ExportValue.

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 fullName argument is null or empty, the page argument is null, the export value is null or empty, or the rect argument is null.
See Also

Reference

Form Class
Form Members
Overload List

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