Public Member Functions | |
Control (Control other) | |
Constructor, with another Control object. | |
string | GetExportValue () |
Get export mapping name when related form field is check box or radio button. More... | |
Field | GetField () |
Get the related form field. More... | |
int | GetIndex () |
Get the index of current form control among all the controls of related form field. More... | |
Widget | GetWidget () |
Get the related widget annotation. More... | |
bool | IsChecked () |
Check if the current form control is checked when related form field is check box or radio button. More... | |
bool | IsDefaultChecked () |
Check if the current form control is checked by default when related form field is check box or radio button. More... | |
bool | IsEmpty () |
Check whether current object is empty or not. More... | |
void | SetChecked (bool arg0) |
Set the check state of current form control when related form field is check box or radio button. More... | |
void | SetDefaultChecked (bool arg0) |
Set the default check state of current form control when related form field is check box or radio button. More... | |
void | SetExportValue (string value) |
Set export mapping name when related form field is check box or radio button. More... | |
Foxit PDF SDK defines "form control" to associate form field with its related widget annotations. A form field may have one or more form controls, and each form control is associated with a widget annotation. A form control object can be retrieved by following functions:
from a form, please use function Form::GetControl.
from a form field, please use functions Field::GetControl.
Form control also offers functions to get related form field object and widget annotation object.
Function Form::AddControl can be used to add a new form control to a form field, and function Form::RemoveControl can be used to remove a form control.
|
inline |
Get export mapping name when related form field is check box or radio button.
Applicable for check box and radio button as related form field. If related form field is other field type, this function will return an empty string.
|
inline |
Get the related form field.
|
inline |
Get the index of current form control among all the controls of related form field.
|
inline |
Get the related widget annotation.
|
inline |
Check if the current form control is checked when related form field is check box or radio button.
Applicable for check box and radio button as related form field. If related form field is other field type, this function will return false.
|
inline |
Check if the current form control is checked by default when related form field is check box or radio button.
Applicable for check box and radio button as related form field. If related form field is other field type, this function will return false.
|
inline |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
|
inline |
Set the check state of current form control when related form field is check box or radio button.
Applicable for check box and radio button as related form field. If related form field is other field type, this function will do nothing.
|
inline |
Set the default check state of current form control when related form field is check box or radio button.
Applicable for check box and radio button as related form field. If related form field is other field type, this function will do nothing.
|
inline |
Set export mapping name when related form field is check box or radio button.
Applicable for check box and radio button as related form field. If related form field is other field type, this function will do nothing.
value | The new export mapping name. It should not be an empty string. |