SetFormFieldCaption

フォームフィールド

説明

フォームフィールドのキャプションを設定します。これはボタン、チェックボックス、およびラジオボタンのフォームフィールドにのみ適用されます

構文

Delphi

Function TPDFlib.SetFormFieldCaption(Index: Integer; Const NewCaption: WideString): Integer;

ActiveX

Function PDFlib::SetFormFieldCaption(Index As Long, NewCaption As String) As Long

DLL

int DLSetFormFieldCaption(int InstanceID, int Index, const wchar_t * NewCaption);

パラメータ

Indexフォームフィールドのインデックス
NewCaptionフォームフィールドの新しいキャプション

戻り値

0フォームフィールドが見つからないか、パラメーターが無効です フォームフィールドのキャプションが正常に設定されました
1