GetFormFieldTitle

表单字段

描述

返回指定表单字段的标题

语法

Delphi

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

ActiveX

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

DLL

const wchar_t* DLGetFormFieldTitle(int InstanceID, int Index);
const char* DLGetFormFieldTitleA(int InstanceID, int Index);

参数

Index所需表单字段索引,第一个表单字段索引为 1

返回值

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