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

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