GetTextBlockFontName
Tekst, Czcionki, Wyodrębnianie
Opis
Zwraca nazwę czcionki tekstu w podanym bloku tekstu
Składnia
Delphi
Function TPDFlib.GetTextBlockFontName(TextBlockListID, Index: Integer): WideString;
ActiveX
Function PDFlib::GetTextBlockFontName(TextBlockListID As Long, Index As Long) As String
DLL
const wchar_t* DLGetTextBlockFontName(int InstanceID, int TextBlockListID, int Index);
const char* DLGetTextBlockFontNameA(int InstanceID, int TextBlockListID, int Index);
Parametry
| TextBlockListID | Wartość zwrócona przez funkcję ExtractPageTextBlocks |
|---|---|
| Index | Indeks bloku tekstu. Pierwszy blok tekstu na liście ma indeks 1 |
Wartości zwracane
Zwraca nazwę czcionki użytej przez tekst w podanym bloku. Zwraca pusty ciąg znaków, gdy TextBlockListID nie identyfikuje prawidłowej listy bloków tekstu.