GetFormFieldCaptionEx
表單欄位
描述
依指定參數傳回表單欄位的標題文字
參數指定要擷取哪個字串。選項適用於 CA、RC 與 AC 字串,但 RC 與 AC 字串只有按鈕(pushbutton)保留使用;對單選鈕或核取方塊擷取 RC 或 AC 字串會得到空字串,因為這類按鈕不用這些字串。更多資訊請參閱 PDF 格式參考手冊
語法
Delphi
Function TPDFlib.GetFormFieldCaptionEx(Index: Integer; StringType: Integer): WideString;
ActiveX
Function PDFlib::GetFormFieldCaptionEx(Index As Long, StringType As Long) As String
DLL
const wchar_t * DLGetFormFieldCaptionEx(int InstanceID, int Index, int StringType);
參數
| Index | 表單欄位的索引 |
|---|---|
| StringType | 1 = CA 字串 2 = RC 字串 3 = AC 字串 |