DAGetFormFieldValue

Campi modulo, funzionalità di accesso diretto

Descrizione

Restituisce il valore del campo modulo specificato

Sintassi

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);

Parametri

FileHandleHandle restituito dalle funzioni DAOpenFile, DAOpenFileReadOnly o DAOpenFromStream
FieldIndexIndice del campo modulo su cui operare. Il primo campo modulo ha indice 1

Valori restituiti

Restituisce il valore del campo del modulo indicato. Restituisce una stringa vuota se l'handle del file non è valido o FieldIndex è fuori intervallo.