DAGetTextBlockText
Text, Extraktion, Direktzugriffsfunktionen
Beschreibung
Gibt den Text im angegebenen Textblock zurück.
Syntax
Delphi
Function TPDFlib.DAGetTextBlockText(TextBlockListID, Index: Integer): WideString;
ActiveX
Function PDFlib::DAGetTextBlockText(TextBlockListID As Long, Index As Long) As String
DLL
const wchar_t* DLDAGetTextBlockText(int InstanceID, int TextBlockListID, int Index);
const char* DLDAGetTextBlockTextA(int InstanceID, int TextBlockListID, int Index);
Parameter
| TextBlockListID | Ein von den Funktionen DAExtractPageTextBlocks oder ExtractFilePageTextBlocks zurückgegebener Wert |
|---|---|
| Index | Der Index des Textblocks. Der erste Textblock in der Liste hat den Index 1. |
Rückgabewerte
Gibt den Text des Blocks zurück. Gibt einen leeren String zurück, wenn die Textblock-Listen-ID ungültig ist.