GetFormFieldValueByTitle

Form fields

Description

Returns the value of the form field with the specified title.

Syntax

Delphi

Function TPDFlib.GetFormFieldValueByTitle(Const Title: WideString): WideString;

ActiveX

Function PDFlib::GetFormFieldValueByTitle(Title As String) As String

DLL

const wchar_t* DLGetFormFieldValueByTitle(int InstanceID, const wchar_t* Title);
const char* DLGetFormFieldValueByTitleA(int InstanceID, const char* Title);

Parameters

TitleThe title of the field.

Return values

Returns the value of the form field with the given title. Returns an empty string when the document has no form data or no field carries that title.