DAGetTextBlockFontName
Tekst, Czcionki, Wyodrębnianie, Funkcje dostępu bezpośredniego
Opis
Zwraca nazwę czcionki tekstu w podanym bloku tekstu
Składnia
Delphi
Function TPDFlib.DAGetTextBlockFontName(TextBlockListID, Index: Integer): WideString;
ActiveX
Function PDFlib::DAGetTextBlockFontName(TextBlockListID As Long, Index As Long) As String
DLL
const wchar_t* DLDAGetTextBlockFontName(int InstanceID, int TextBlockListID, int Index);
const char* DLDAGetTextBlockFontNameA(int InstanceID, int TextBlockListID, int Index);
Parametry
| TextBlockListID | Wartość zwrócona przez funkcję DAExtractPageTextBlocks lub ExtractFilePageTextBlocks |
|---|---|
| Index | Indeks bloku tekstu. Pierwszy blok tekstu na liście ma indeks 1 |
Wartości zwracane
Zwraca nazwę czcionki użytej przez blok tekstu. Zwraca pusty ciąg znaków, gdy identyfikator listy bloków tekstu jest nieprawidłowy.