Back to Devexpress

TdxPDFForm.GetField(string) Method

vcl-dxpdfform-dot-tdxpdfform-dot-getfield-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

TdxPDFForm.GetField(string) Method

Returns an interactive field by its name on the form.

Declaration

delphi
function GetField(const AFullName: string): TdxPDFCustomField;

Parameters

NameTypeDescription
AFullNamestring

The name of an interactive field.

|

Returns

TypeDescription
TdxPDFCustomField

The interactive field with the specified name (AFullName). Cast the returned value to the corresponding field class to access all class-specific API members. Call the AField.FieldType function to identify the field’s class.

|

Exceptions

TypeDescription
EListError

The “Item not found” exception occurs if the form has no field with the specified name (AFullName).

|

Remarks

The TryGetField function is a safe alternative to GetField.

See Also

GetButtonField(string)

GetCheckBoxField(string)

GetComboBoxField(string)

GetListBoxField(string)

GetRadioGroupField(string)

GetTextField(string)

TdxPDFForm Class

TdxPDFForm Members

dxPDFForm Unit