GetFormFieldValue

表单字段

描述

获取指定表单字段的值

语法

Delphi

Function TPDFlib.GetFormFieldValue(Index: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldValue(Index As Long) As String

DLL

const wchar_t* DLGetFormFieldValue(int InstanceID, int Index);
const char* DLGetFormFieldValueA(int InstanceID, int Index);

参数

Index要检索其值的表单字段索引

返回值

返回指定表单字段的当前值。文档没有表单数据或 Index 超出范围时返回空字符串。