THPDFPage.CreateRadioButton Method

Provides the CreateRadioButton behavior for the AcroForm workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function CreateRadioButton(const GroupName, ExportValue: AnsiString; Rectangle: TRect; Selected: boolean= false; Flags: THPDFFormFieldFlags= []): THPDFAcroFormField;

Unit

HPDFDoc

Parameters

NamePurpose
GroupNamePDF resource name, packet name, profile name, or caller-defined identifier
ExportValueInput used by CreateRadioButton
RectanglePage area or widget rectangle where the operation is applied
SelectedInput used by CreateRadioButton
FlagsInput used by CreateRadioButton

Return value

Returns a THPDFAcroFormField value

Field creation and fluent flag edits preserve exact integer masks while keeping the existing radio-group parent and child-widget flag targets

See AcroForm field flag precision for signed mask values, inheritance and native builder behavior

Usage notes

Related APIs