TdxPDFForm.GetTextField(string) Method
In This Article
Returns a text field by its name on the form.
#Declaration
Delphi
function GetTextField(const AFullName: string): TdxPDFTextField;
#Parameters
Name | Type | Description |
---|---|---|
AFull |
string | The name of a text field. |
#Returns
Type | Description |
---|---|
Tdx |
The text 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 text box. |
#Remarks
The TryGetTextField function is a safe alternative to GetTextField.
See Also