DAGetFormFieldCount

Form fields, Direct access functionality

Description

Returns the number of form fields in the document.

Syntax

Delphi

function TPDFlib.DAGetFormFieldCount(FileHandle: Integer): Integer;

ActiveX

Function PDFlib::DAGetFormFieldCount(FileHandle As Long) As Long

DLL

int DLDAGetFormFieldCount(int InstanceID, int FileHandle);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions