DAGetTextBlockBound

文字、擷取、直接存取功能

描述

傳回指定文字區塊的某個邊界值

語法

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

參數

TextBlockListID由 DAExtractPageTextBlocks 或 ExtractFilePageTextBlocks 函式傳回的值
Index文字區塊的索引。清單中的第一個文字區塊索引為 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);