Skip to main content
Table of Contents

ITMSFNCCustomPDFFormFieldsLib.AddRadioButton Method

Adds a radio button to a previously declared radio button group.

API unit family: TMSFNCPDFLib Declaring type: ITMSFNCCustomPDFFormFieldsLib

Syntax

FMX.TMSFNCPDFLib.hppPascalC++
procedure AddRadioButton(AFieldName: string; ARect: TRecTF; AGroupID: string; AIsChecked: Boolean = False; AReadOnly: Boolean = False; AHidden: Boolean = False);
virtual void __fastcall AddRadioButton(System::UnicodeString AFieldName, const System::Types::TRectF &ARect, System::UnicodeString AGroupID, bool AIsChecked = false, bool AReadOnly = false, bool AHidden = false) = 0;

Parameters

Name Description
AFieldName Field name of the radio button within the group.
ARect Bounding rectangle of the radio button in PDF coordinate units.
AGroupID Group identifier matching a prior AddRadioGroup call.
AIsChecked When True, this radio button is the initially selected option.
AReadOnly When True, the field is read-only in the PDF viewer.
AHidden When True, the field is invisible in the PDF viewer.