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。