SetFieldCombNumber

FormEditor.SetFieldCombNumber method

Sets number of combs for a regular single-line text field (the field is automatically divided into as many equally spaced positions, or combs, as the value of combNumber parameter).

public bool SetFieldCombNumber(string fieldName, int combNumber)
Parameter Type Description
fieldName String The qualified field name.
combNumber Int32 The number of combs to divide the field into.

Return Value

If success, return true;else false.

Examples

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

See Also