GetFormFieldRichTextString
フォームフィールド
説明
指定されたキーを使用して、指定したフォームフィールドのリッチテキスト (RV) または既定スタイル (DS) 文字列を取得します 戻り値の形式は PDF Specification の "Field Dictionaries" 節で定義されています
構文
Delphi
Function TPDFlib.GetFormFieldRichTextString(Index: Integer; Const Key: WideString): WideString;
ActiveX
Function PDFlib::GetFormFieldRichTextString(Index As Long, Key As String) As String
DLL
const wchar_t* DLGetFormFieldRichTextString(int InstanceID, int Index, const wchar_t* Key);
const char* DLGetFormFieldRichTextStringA(int InstanceID, int Index, const char* Key);
パラメータ
| Index | 必要なフォームフィールドのインデックス。最初のフォームフィールドのインデックスは 1 です |
|---|---|
| Key | 返す Key 値。"RV" = リッチテキスト文字列を返す、"DS" = 既定のスタイル文字列を返す |
戻り値
フィールドについてKeyに格納されたリッチテキスト文字列を返します。Indexが無効な場合や、キーに値がない場合は空文字列を返します