TdxPDFForm.GetTextField(string) Method
Returns a text field by its name on the form.
Declaration
function GetTextField(const AFullName: string): TdxPDFTextField;
Parameters
Name | Type | Description |
---|---|---|
AFullName | string | The name of a text field. |
Returns
Type | Description |
---|---|
TdxPDFTextField | The text field with the specified name (AFullName). |
Exceptions
Type | Description |
---|---|
EListError | The “Item not found” exception occurs if the form has no field with the specified name (AFullName). |
EInvalidCast | 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