Back to Devexpress

TdxPDFForm.TryGetField(string,TdxPDFCustomField) Method

vcl-dxpdfform-dot-tdxpdfform-dot-trygetfield-x28-system-dot-string-dxpdfform-dot-tdxpdfcustomfield-x29.md

latest2.0 KB
Original Source

TdxPDFForm.TryGetField(string,TdxPDFCustomField) Method

Returns an interactive field by its name if the field is on the form.

Declaration

delphi
function TryGetField(const AFullName: string; out AField: TdxPDFCustomField): Boolean;

Parameters

NameTypeDescription
AFullNamestring

The name of an interactive field.

| | AField | TdxPDFCustomField |

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

|

Returns

TypeDescription
Boolean

True if the form has an interactive field with the specified name; otherwise, False.

|

See Also

TryGetButtonField(string,TdxPDFButtonField)

TryGetCheckBoxField(string,TdxPDFCheckBoxField)

TryGetComboBoxField(string,TdxPDFComboBoxField)

TryGetListBoxField(string,TdxPDFListBoxField)

TryGetRadioGroupField(string,TdxPDFRadioGroupField)

TryGetTextField(string,TdxPDFTextField)

TdxPDFForm Class

TdxPDFForm Members

dxPDFForm Unit