THPDFPage.CreateRadioButton Method

Method summary: THPDFPage.CreateRadioButton Method

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
GroupNameRadio button group name
ExportValueValue exported when this option is selected
RectangleWidget rectangle on the page
SelectedInitial selected state
FlagsInput supplied to CreateRadioButton

Return value

THPDFAcroFormField wrapper for the created radio button

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

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

Usage notes

Related APIs