Back to Devexpress

TdxPDFForm.GetRadioGroupField(string) Method

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

latest1.5 KB
Original Source

TdxPDFForm.GetRadioGroupField(string) Method

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

Declaration

delphi
function GetRadioGroupField(const AFullName: string): TdxPDFRadioGroupField;

Parameters

NameTypeDescription
AFullNamestring

The name of a radio group field.

|

Returns

TypeDescription
TdxPDFRadioGroupField

The radio group field with the specified name (AFullName).

|

Exceptions

TypeDescription
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

GetField(string)

TdxPDFForm Class

TdxPDFForm Members

dxPDFForm Unit