GetTextBlockText

Tekst, Wyodrębnianie

Opis

Zwraca tekst z podanego bloku tekstu

Składnia

Delphi

Function TPDFlib.GetTextBlockText(TextBlockListID, Index: Integer): WideString;

ActiveX

Function PDFlib::GetTextBlockText(TextBlockListID As Long, Index As Long) As String

DLL

const wchar_t* DLGetTextBlockText(int InstanceID, int TextBlockListID, int Index);
const char* DLGetTextBlockTextA(int InstanceID, int TextBlockListID, int Index);

Parametry

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

Wartości zwracane

Zwraca tekst podanego bloku. Zwraca pusty ciąg znaków, gdy TextBlockListID nie identyfikuje prawidłowej listy bloków tekstu.