GetFormFieldDefaultValue

フォームフィールド

説明

フォームフィールドの既定値を返す。これはフォームのリセット時にフィールドへ設定される値

構文

Delphi

Function TPDFlib.GetFormFieldDefaultValue(Index: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldDefaultValue(Index As Long) As String

DLL

const wchar_t* DLGetFormFieldDefaultValue(int InstanceID, int Index);
const char* DLGetFormFieldDefaultValueA(int InstanceID, int Index);

パラメータ

Indexフォームフィールドのインデックス

戻り値

フィールドのデフォルト値を返します。Indexが無効な場合や、フィールドにデフォルト値がない場合は空文字列を返します