DeleteFormField

Form fields

Description

Deletes the specified form field. If the field is deleted successfully the field index of subsequent form fields will be decreased by 1.

Syntax

Delphi

function TPDFlib.DeleteFormField(Index: Integer): Integer;

ActiveX

Function PDFlib::DeleteFormField(Index As Long) As Long

DLL

int DLDeleteFormField(int InstanceID, int Index);

Parameters

IndexThe index of the form field to delete

Return values

0The form field was not found
1The form field was deleted successfully