DAGetFormFieldValue
Form fields, Direct access functionality
Description
Returns the value of the specified form field.
Syntax
Delphi
Function TPDFlib.DAGetFormFieldValue(FileHandle, FieldIndex: Integer): WideString;
ActiveX
Function PDFlib::DAGetFormFieldValue(FileHandle As Long, FieldIndex As Long) As String
DLL
const wchar_t* DLDAGetFormFieldValue(int InstanceID, int FileHandle, int FieldIndex);
const char* DLDAGetFormFieldValueA(int InstanceID, int FileHandle, int FieldIndex);
Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|---|
| FieldIndex | The index of the form field to work with. The first form field has an index of 1. |
Return values
Returns the value of the specified form field. Returns an empty string when the file handle is invalid or FieldIndex is out of range.