GetFormFieldSubName

フォームフィールド

説明

ラジオボタン、チェックボックス、選択フィールドでは、指定した候補値を返します

選択フィールドでは、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取得するサブ値のインデックス

戻り値

フィールドの指定された選択肢(部分名)を返します。文書にフォームデータがない場合やフィールドインデックスが無効な場合は空文字列を返します。