SetFormFieldVisible

Form fields

Description

Hides or shows the a form field.

Syntax

Delphi

function TPDFlib.SetFormFieldVisible(Index, Visible: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldVisible(Index As Long, Visible As Long) As Long

DLL

int DLSetFormFieldVisible(int InstanceID, int Index, int Visible);

Parameters

IndexThe index of the required form field. The first form field has an index of 1.
Visible0 = Hide the form field 1 = Show the form field

Return values

0Could not find the specified form field
1The visiblity of the form field was set successfully