GetFormFieldSubName

表單欄位

描述

對單選鈕、核取方塊與選擇欄位(可捲動清單方塊或下拉式方塊),此函式傳回指定的候選值

Choice 欄位可用 GetformFieldSubDisplayName 函式取出選項的顯示名稱

語法

Delphi

Function TPDFlib.GetFormFieldSubName(Index, SubIndex: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldSubName(Index As Long, SubIndex As Long) As String

DLL

const wchar_t* DLGetFormFieldSubName(int InstanceID, int Index, int SubIndex);
const char* DLGetFormFieldSubNameA(int InstanceID, int Index, int SubIndex);

參數

Index要檢視的表單欄位索引
SubIndex要取出的子值索引

傳回值

傳回欄位的指定可用值(部分名稱)。文件沒有表單資料或欄位索引無效時傳回空字串。