GetTextBlockCharWidth

Texto, Fuentes, Extracción

Descripción

Devuelve la anchura de un carácter concreto dentro del bloque de texto especificado

Sintaxis

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

Parámetros

TextBlockListIDValor devuelto por la función ExtractPageTextBlocks Índice del bloque de texto. El primer bloque de la lista tiene el índice 1
Index
CharIndexEl índice del carácter cuya anchura se recuperará. El primer carácter tiene el índice 1