DAGetTextBlockCharWidth
Tekst, Czcionki, Wyodrębnianie, Funkcje dostępu bezpośredniego
Opis
Zwraca szerokość konkretnego znaku w podanym bloku tekstu.
Składnia
Delphi
Function TPDFlib.DAGetTextBlockCharWidth(TextBlockListID, Index, CharIndex: Integer): Double;
ActiveX
Function PDFlib::DAGetTextBlockCharWidth(TextBlockListID As Long, Index As Long, CharIndex As Long) As Double
DLL
double DLDAGetTextBlockCharWidth(int InstanceID, int TextBlockListID, int Index, int CharIndex);
Parametry
| TextBlockListID | Wartość zwrócona przez funkcję DAExtractPageTextBlocks lub ExtractFilePageTextBlocks |
|---|---|
| Index | Indeks bloku tekstu. Pierwszy blok na liście ma indeks 1. |
| CharIndex | Indeks znaku, którego szerokość ma zostać pobrana. Pierwszy znak ma indeks 1. |