GetTextBlockFontSize
文字, 字型, 擷取
描述
傳回指定文字區塊文字的字型大小
語法
Delphi
Function TPDFlib.GetTextBlockFontSize(TextBlockListID, Index: Integer): Double;
ActiveX
Function PDFlib::GetTextBlockFontSize(TextBlockListID As Long, Index As Long) As Double
DLL
double DLGetTextBlockFontSize(int InstanceID, int TextBlockListID, int Index);
參數
| TextBlockListID | 由 ExtractPageTextBlocks 函式傳回的值 |
|---|---|
| Index | 文字區塊的索引。清單中的第一個文字區塊索引為 1。 |
傳回值
傳回字型大小(點)。TextBlockListID 並未識別有效的文字區塊清單時傳回 0。