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。