Skip to main content

TdxPDFForm.TryGetField(string,TdxPDFCustomField) Method

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

Declaration

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

Parameters

Name Type Description
AFullName string

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

Type Description
Boolean

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

See Also