SetFormFieldAnnotFlags

Form fields

Description

Set the "annotation" flags for the specified form field. This is for advanced use, see the PDF specification for details.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

IndexThe index of the form field to change
NewFlagsThe new flags value to apply

Return values

0The specified form field could not be found
1The "annotation" flags for the specified form field were set successfully