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