GetFormFieldTextFlags
Form fields
Description
Returns certain properties of a text field.
Syntax
Delphi
function TPDFlib.GetFormFieldTextFlags(Index, ValueKey: Integer): Integer;ActiveX
Function PDFlib::GetFormFieldTextFlags(Index As Long, ValueKey As Long) As LongDLL
int DLGetFormFieldTextFlags(int InstanceID, int Index, int ValueKey);Parameters
| Index | The index of the form field |
|---|---|
| ValueKey | Indicates which property to analyse: 1 = Multiline 2 = Password 3 = FileSelect 4 = DoNotSpellCheck 5 = DoNotScroll |
Return values
| 0 | The flag for the specific property is not turned on. For example, if ValueKey is 5 and the function returns 0 this indicates that the form field is allowed to scroll. |
|---|---|
| 1 | The flag is turned on. For example, if ValueKey is 2 and the function returns 1 this indicates that the form field is a password field. |