GetTextBlockBound

文字, 字型, 擷取

描述

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

語法

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

參數

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