DAGetTextBlockText

Tekst, Wyodrębnianie, Funkcje dostępu bezpośredniego

Opis

Zwraca tekst z podanego bloku tekstu

Składnia

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

Parametry

TextBlockListIDWartość zwrócona przez funkcję DAExtractPageTextBlocks lub ExtractFilePageTextBlocks
IndexIndeks bloku tekstu. Pierwszy blok tekstu na liście ma indeks 1

Wartości zwracane

Zwraca tekst bloku. Zwraca pusty ciąg znaków, gdy identyfikator listy bloków tekstu jest nieprawidłowy.