DAGetFormFieldValue

表单字段、直接访问功能

描述

返回指定表单字段的值

语法

Delphi

Function TPDFlib.DAGetFormFieldValue(FileHandle, FieldIndex: Integer): WideString;

ActiveX

Function PDFlib::DAGetFormFieldValue(FileHandle As Long, FieldIndex As Long) As String

DLL

const wchar_t * DLDAGetFormFieldValue(int InstanceID, int FileHandle, int FieldIndex);

参数

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄
FieldIndex要操作的表单字段索引。第一个表单字段的索引为 1