DAGetTextBlockCharWidth

Texte, polices, extraction, fonctionnalité Direct Access

Description

Renvoie la largeur d’un caractère précis dans le bloc de texte indiqué

Syntaxe

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

Paramètres

TextBlockListIDUne valeur renvoyée par les fonctions DAExtractPageTextBlocks ou ExtractFilePageTextBlocks
IndexL'index du bloc de texte Le premier bloc de texte de la liste porte l'index 1
CharIndexL'index du caractère dont la largeur doit être récupérée Le premier caractère porte l'index 1