GetTextBlockBound

Text, Fonts, Extraction

Description

Returns one of the bounds of the specified text block.

Syntax

Delphi

function TPDFlib.GetTextBlockBound(TextBlockListID, Index, BoundIndex: Integer): Double;

ActiveX

Function PDFlib::GetTextBlockBound(TextBlockListID As Long, Index As Long, BoundIndex As Long) As Double

DLL

double DLGetTextBlockBound(int InstanceID, int TextBlockListID, int Index, int BoundIndex);

Parameters

TextBlockListIDA value returned by the ExtractPageTextBlocks function The index of the text block. The first text block in the list has an index of 1.
Index
BoundIndex1 = Bottom left horizontal coordinate 2 = Bottom left vertical coordinate 3 = Bottom right horizontal coordinate 4 = Bottom right vertical coordinate 5 = Top right horizontal coordinate 6 = Top right vertical coordinate 7 = Top left horizontal coordinate 8 = Top left vertical coordinate