TdxPDFForm.GetCheckBoxField(string) Method
In This Article
Returns a checkbox field by its name on the form.
#Declaration
Delphi
function GetCheckBoxField(const AFullName: string): TdxPDFCheckBoxField;
#Parameters
Name | Type | Description |
---|---|---|
AFull |
string | The name of a checkbox field. |
#Returns
Type | Description |
---|---|
Tdx |
The checkbox field with the specified name (AFull |
#Exceptions
Type | Description |
---|---|
EList |
The “Item not found” exception occurs if the form has no field with the specified name (AFull |
EInvalid |
The “Invalid class typecast” exception occurs if the field with the specified name is not a checkbox. |
#Remarks
The TryGetCheckBoxField function is a safe alternative to GetCheckBoxField.
See Also