SetFormFieldCheckStyle
表单字段
描述
设置复选框字段或单选按钮子字段的选中样式
语法
Delphi
Function TPDFlib.SetFormFieldCheckStyle(Index, CheckStyle, Position: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldCheckStyle(Index As Long, CheckStyle As Long, Position As Long) As Long
DLL
int DLSetFormFieldCheckStyle(int InstanceID, int Index, int CheckStyle, int Position);
参数
| Index | 要操作的表单字段索引。第一个表单字段的索引为 1 |
|---|---|
| CheckStyle | 0 = 十字 1 = 勾选 2 = 圆点(单选) 3 = XP 勾选 4 = XP 单选 5 = 菱形 6 = 正方形 7 = 星形 |
| Position | 0 = 左对齐 1 = 居中 2 = 右对齐 |
返回值
| 0 | 某个参数无效 |
|---|---|
| 1 | 复选样式已成功设置 |