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