GetTextBlockFontSize

Text, Fonts, Extraction

Description

Returns the font size of the text in the specified text block.

Syntax

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

Parameters

TextBlockListIDA value returned by the ExtractPageTextBlocks function
IndexThe index of the text block. The first text block in the list has an index of 1.

Return values

Returns the font size in points. Returns 0 when TextBlockListID does not identify a valid text block list.