DAGetTextBlockCharWidth

Texto, fuentes, extracción, funcionalidad de acceso directo

Descripción

Devuelve la anchura 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.
CharIndexEl índice del carácter cuya anchura se recuperará. El primer carácter tiene el índice 1