SetFormFieldValueByTitle
フォームフィールド
説明
指定タイトルを持つすべてのフォームフィールド値を設定します。SetNeedAppearances(1) が呼ばれている場合はアピアランスストリームを生成します
構文
Delphi
Function TPDFlib.SetFormFieldValueByTitle(Const Title, NewValue: WideString): Integer;
ActiveX
Function PDFlib::SetFormFieldValueByTitle(Title As String, NewValue As String) As Long
DLL
int DLSetFormFieldValueByTitle(int InstanceID, const wchar_t * Title, const wchar_t * NewValue);
パラメータ
| Title | 設定するフォームフィールドのタイトル |
|---|---|
| NewValue | フォームフィールドの新しい値。複数行テキストフィールドでは、Chr(13) または Chr(13) + Chr(10) を使用して行間に強制改行を挿入できます |
戻り値
| 0 | フォームフィールドが見つかりませんでした |
|---|---|
| 1 | フォームフィールドの値が正常に設定されました |