THPDFPage.CreateRadioButton Method

为 AcroForm 工作流提供 CreateRadioButton 行为。当周边 API 族需要对 PDF 对象、页面内容、资源、合规性或诊断进行显式控制时使用它

声明

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

单元

HPDFDoc

参数

名称用途
GroupNamePDF 资源名称、包名称、配置文件名称或调用方定义的标识符
ExportValueCreateRadioButton 使用的输入
Rectangle应用操作的页面区域或控件矩形
SelectedCreateRadioButton 使用的输入
FlagsCreateRadioButton 使用的输入

返回值

返回一个 THPDFAcroFormField 值

字段创建与流式标志编辑精确保留整数掩码,同时保留既有的 radio-group 父级与子控件标志目标

有关带符号掩码值、继承与原生构建器行为,请参见 AcroForm 字段标志精度

使用说明

相关 API