DAGetFormFieldCount

表單欄位、直接存取功能

描述

傳回文件中的表單欄位數量

語法

Delphi

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

ActiveX

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

DLL

int DLDAGetFormFieldCount(int InstanceID, int FileHandle);

參數

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函式傳回的控制代碼

傳回值

傳回文件中表單欄位的數量。檔案控制代碼無效或文件沒有表單時傳回 0。