GetTextBlockCharWidth

Tekst, Czcionki, Wyodrębnianie

Opis

Zwraca szerokość konkretnego znaku w podanym bloku tekstu.

Składnia

Delphi

Function TPDFlib.GetTextBlockCharWidth(TextBlockListID, Index, CharIndex: Integer): Double;

ActiveX

Function PDFlib::GetTextBlockCharWidth(TextBlockListID As Long, Index As Long, CharIndex As Long) As Double

DLL

double DLGetTextBlockCharWidth(int InstanceID, int TextBlockListID, int Index, int CharIndex);

Parametry

TextBlockListIDWartość zwrócona przez funkcję ExtractPageTextBlocks. Indeks bloku tekstu. Pierwszy blok tekstu na liście ma indeks 1
Index
CharIndexIndeks znaku, którego szerokość ma zostać pobrana. Pierwszy znak ma indeks 1