SetFormFieldChildTitle

Form fields

Description

Sets the title of the specified form field. For form fields arranged in a hierarchy this function only sets the last part of the field name. For example, a field with the name "Address.ZipCode" can be changed to "Address.PostalCode".

Syntax

Delphi

function TPDFlib.SetFormFieldChildTitle(Index: Integer; Const NewTitle: WideString): Integer;

ActiveX

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

DLL

int DLSetFormFieldChildTitle(int InstanceID, int Index, wchar_t * NewTitle);

Parameters

IndexThe index of the form field to set the title of
NewTitleThe new value for the last part of the title for the specified field.

Return values

0The form field could not be found
1The title of the specified form field was changed successfully