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 超出範圍時傳回空字串。