DAGetFormFieldCount

フォームフィールド、直接アクセス機能

説明

ドキュメント内のフォームフィールド数を返します

構文

Delphi

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

ActiveX

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

DLL

int DLDAGetFormFieldCount(int InstanceID, int FileHandle);

パラメータ

FileHandleDAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル

戻り値

文書内のフォームフィールドの数を返します。ファイルハンドルが無効な場合や、文書にフォームがない場合は0を返します。