GetTextBlockCharWidth

Texto, Fuentes, Extracción

Descripción

Devuelve el ancho 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

TextBlockListIDUn valor devuelto por la función ExtractPageTextBlocks El índice del bloque de texto. El primer bloque de texto de la lista tiene un índice de 1
Index
CharIndexÍndice del carácter cuyo ancho se debe obtener. El primer carácter tiene el índice 1