GetXFAFormFieldName
Form fields
Description
Returns the name of the specified leaf XFA data field. Container data groups are skipped when the field list is built.
Syntax
Delphi
Function TPDFlib.GetXFAFormFieldName(Index: Integer): WideString;
ActiveX
Function PDFlib::GetXFAFormFieldName(Index As Long) As String
DLL
const wchar_t* DLGetXFAFormFieldName(int InstanceID, int Index);
const char* DLGetXFAFormFieldNameA(int InstanceID, int Index);
Parameters
| Index | The index of the XFA form field. The first XFA form field has an index of 1 and the last XFA form field has a value as returned by the GetXFAFormFieldCount function. |
|---|
Return values
Returns the name of the leaf XFA data field at the specified 1-based index. Returns an empty string when Index is out of range or the document has no XFA form data.