Skip to main content

TdxPDFForm.GetRadioGroupField(string) Method

Returns a radio group field by its name on the form.

Declaration

function GetRadioGroupField(const AFullName: string): TdxPDFRadioGroupField;

Parameters

Name Type Description
AFullName string

The name of a radio group field.

Returns

Type Description
TdxPDFRadioGroupField

The radio group 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 radio group.

Remarks

The TryGetRadioGroupField function is a safe alternative to GetRadioGroupField.

See Also