SetFormFieldTitle

表单字段

描述

重命名父表单字段的标题。不会执行验证,因此应确保标题唯一

语法

Delphi

Function TPDFlib.SetFormFieldTitle(Index: Integer; NewTitle: WideString): Integer;

ActiveX

Function PDFlib::SetFormFieldTitle(Index As Long, NewTitle As String) As Long

DLL

int DLSetFormFieldTitle(int InstanceID, int Index, const wchar_t * NewTitle);

参数

Index表单字段索引
NewTitle表单字段的新标题名称

返回值

0无法更改表单字段标题 已成功更改字段标题
1