SetFormFieldComb
表单字段
描述
将表单字段标记为梳状字段,其中值中的每个字符在字段内占用相同空间,该字段必须是测试字段,并且必须调用 SetFormFieldMaxLen 函数指定字段中的字符数
语法
Delphi
Function TPDFlib.SetFormFieldComb(Index, Comb: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldComb(Index As Long, Comb As Long) As Long
DLL
int DLSetFormFieldComb(int InstanceID, int Index, int Comb);
参数
| Index | 表单字段索引 |
|---|---|
| Comb | 0 = 常规字段;1 = Comb 字段 |
返回值
comb 标志更新后返回 1。Index 不是表单字段的标识时返回 0。