GetTextBlockText

Tekst, extractie

Beschrijving

Retourneert de tekst in het opgegeven tekstblok

Syntaxis

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

Parameters

TextBlockListIDEen waarde geretourneerd door de functie ExtractPageTextBlocks
IndexDe index van het tekstblok. Het eerste tekstblok in de lijst heeft index 1

Retourwaarden

Retourneert de tekst van het opgegeven blok. Retourneert een lege tekenreeks wanneer TextBlockListID geen geldige lijst met tekstblokken identificeert.