FormEditor.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)
ParameterTypeDescription
fieldNameStringThe qualified field name.
combNumberInt32The 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