DAGetFormFieldTitle
Pola formularzy, Funkcje dostępu bezpośredniego
Opis
Zwraca tytuł podanego pola formularza
Składnia
Delphi
Function TPDFlib.DAGetFormFieldTitle(FileHandle, FieldIndex: Integer): WideString;
ActiveX
Function PDFlib::DAGetFormFieldTitle(FileHandle As Long, FieldIndex As Long) As String
DLL
const wchar_t* DLDAGetFormFieldTitle(int InstanceID, int FileHandle, int FieldIndex);
const char* DLDAGetFormFieldTitleA(int InstanceID, int FileHandle, int FieldIndex);
Parametry
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream |
|---|---|
| FieldIndex | Indeks pola formularza, na którym ma zostać wykonana operacja. Pierwsze pole formularza ma indeks 1 |
Wartości zwracane
Zwraca tytuł podanego pola formularza. Zwraca pusty ciąg znaków, gdy uchwyt pliku jest nieprawidłowy lub FieldIndex wykracza poza zakres.