GetFormFieldIsComb
Form fields
Description
Returns whether the Comb flag is set on a form field, bit 25 of the field flags in /Ff
Comb formatting spreads the characters of a fixed-length text field evenly across the field box instead of laying them out as running text
Syntax
Delphi
Function TPDFlib.GetFormFieldIsComb(Index: Integer): Integer;
Parameters
| Index | The index of the form field. The first form field has an index of 1 |
|---|
Return values
| 1 | The Comb flag is set on the field |
|---|---|
| 0 | The Comb flag is not set, or the field could not be found |
Remarks
The flag only takes effect on text fields that have a maximum character length; on other field types it is meaningless but still reported as stored
See also
GetFormFieldIsMultiLine, GetFormFieldFlags, GetFormFieldAlignment