SetFormFieldChildTitle
フォームフィールド
説明
指定したフォームフィールドのタイトルを設定します。階層に配置されたフォームフィールドの場合、この関数はフィールド名の最後の部分のみを設定します。たとえば、"Address.ZipCode" という名前のフィールドは "Address.PostalCode" に変更できます
構文
Delphi
Function TPDFlib.SetFormFieldChildTitle(Index: Integer; Const NewTitle: WideString): Integer;
ActiveX
Function PDFlib::SetFormFieldChildTitle(Index As Long, NewTitle As String) As Long
DLL
int DLSetFormFieldChildTitle(int InstanceID, int Index, const wchar_t * NewTitle);
パラメータ
| Index | タイトルを設定するフォームフィールドのインデックス |
|---|---|
| NewTitle | 指定したフィールドのタイトルの最後の部分に設定する新しい値 |
戻り値
| 0 | フォームフィールドが見つかりませんでした |
|---|---|
| 1 | 指定したフォームフィールドのタイトルが正常に変更されました |