SetFormFieldTitle

Form fields

Description

Renames the title of a parent form field. No validation is performed so you should make sure the title is unique.

Syntax

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, wchar_t * NewTitle);

Parameters

IndexThe index of the formfield
NewTitleThe new title name for the formfield

Return values

0The form field title cound not be changed The field field title was changed successfully
1