SetFieldCombNumber

FormEditor.SetFieldCombNumber method

设置常规单行文本字段的梳数(字段为 自动划分为等间距位置或梳子, 作为 combNumber 参数的值)。

public bool SetFieldCombNumber(string fieldName, int combNumber)
范围类型描述
fieldNameString限定的字段名称。
combNumberInt32要将字段划分为的梳数。

返回值

如果成功,则返回 true;否则返回 false。

例子

FormEditor formEditor = new FormEditor("PdfWithAcroForm.pdf", "FormEditor_SetFieldComb.pdf"));
formEditor.SetFieldCombNumber("textCombField", 5);

也可以看看