GetTextBlockFontSize

Tekst, Czcionki, Wyodrębnianie

Opis

Zwraca rozmiar czcionki tekstu we wskazanym bloku tekstowym

Składnia

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

Parametry

TextBlockListIDWartość zwrócona przez funkcję ExtractPageTextBlocks
IndexIndeks bloku tekstu. Pierwszy blok tekstu na liście ma indeks 1

Wartości zwracane

Zwraca rozmiar czcionki w punktach. Zwraca 0, gdy TextBlockListID nie identyfikuje prawidłowej listy bloków tekstu.