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 Long

DLL

int DLGetFormFieldTextFlags(int InstanceID, int Index, int ValueKey);

Parameters

IndexThe index of the form field
ValueKeyIndicates which property to analyse: 1 = Multiline 2 = Password 3 = FileSelect 4 = DoNotSpellCheck 5 = DoNotScroll

Return values

0The 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.
1The 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.