DAGetTextBlockBound

Text, Extraction, Direct access functionality

Description

Returns one of the bounds of the specified text block.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

TextBlockListIDA value returned by the DAExtractPageTextBlocks or ExtractFilePageTextBlocks functions
IndexThe index of the text block. The first text block in the list has an index of 1.
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 int Index, int BoundIndex);