SetFormFieldHighlightMode

Form fields

Description

Sets the highlight mode for the specified form field.

Syntax

Delphi

function TPDFlib.SetFormFieldHighlightMode(Index, NewMode: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldHighlightMode(Index As Long, NewMode As Long) As Long

DLL

int DLSetFormFieldHighlightMode(int InstanceID, int Index, int NewMode);

Parameters

IndexThe index of the form field
NewModeThe highlighting mode: 0 = None 1 = Invert 2 = Outline 3 = Push

Return values

0The form field could not be found or the parameters were invalid
1The highlight mode of the form field was set successfully