DAGetFormFieldTitle
表单字段、直接访问功能
描述
返回指定表单字段的标题
语法
Delphi
Function TPDFlib.DAGetFormFieldTitle(FileHandle, FieldIndex: Integer): WideString;
ActiveX
Function PDFlib::DAGetFormFieldTitle(FileHandle As Long, FieldIndex As Long) As String
DLL
const wchar_t* DLDAGetFormFieldTitle(int InstanceID, int FileHandle, int FieldIndex);
const char* DLDAGetFormFieldTitleA(int InstanceID, int FileHandle, int FieldIndex);
参数
| FileHandle | 由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄 |
|---|---|
| FieldIndex | 要操作的表单字段索引。第一个表单字段的索引为 1 |
返回值
返回指定表单字段的标题。文件句柄无效或 FieldIndex 超出范围时返回空字符串。