GetTextBlockCharWidth

Tekst, Skrifttyper, Udtræk

Beskrivelse

Returnerer bredden af et bestemt tegn i den angivne tekstblok.

Syntaks

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

Parametre

TextBlockListIDEn værdi returneret af funktionen ExtractPageTextBlocks Tekstblokkens indeks. Den første tekstblok på listen har indeks 1.
Index
CharIndexIndekset for det tegn, hvis bredde skal hentes. Det første tegn har indeks 1.