DAGetTextBlockCharWidth

categoría Texto, Fuentes, Extracción, Funcionalidad de acceso directo

Descripción

Devuelve el ancho de un carácter concreto dentro del bloque de texto especificado

Sintaxis

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

Parámetros

TextBlockListIDUn valor devuelto por las funciones DAExtractPageTextBlocks o ExtractFilePageTextBlocks
IndexEl índice del bloque de texto. El primer bloque de texto en la lista tiene un índice de 1
CharIndexÍndice del carácter cuyo ancho se debe obtener. El primer carácter tiene el índice 1