SetFormFieldFlags

Form fields

Description

Sets the internal flags for the form field. This setting is for advanced purposes and most users will not need to use it.

Syntax

Delphi

function TPDFlib.SetFormFieldFlags(Index, NewFlags: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldFlags(Index As Long, NewFlags As Long) As Long

DLL

int DLSetFormFieldFlags(int InstanceID, int Index, int NewFlags);

Parameters

IndexThe index of the form field
NewFlagsThe new value of the flags. Consult the PDF specification for further details.

Return values

0Cannot find the form field
1The flags were set successfully