GetTextBlockCharWidth

Teksti, Fontit, Purku

Kuvaus

Palauttaa yhden merkin leveyden annetussa tekstilohkossa

Syntaksi

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);

Parametrit

TextBlockListIDArvo, jonka ExtractPageTextBlocks-funktio palauttaa Tekstilohkon indeksi. Luettelon ensimmäisellä tekstilohkolla on indeksi 1
Index
CharIndexSen merkin indeksi, jonka leveys haetaan. Ensimmäisellä merkillä on indeksi 1