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
| TextBlockListID | Une valeur renvoyée par les fonctions DAExtractPageTextBlocks ou ExtractFilePageTextBlocks |
|---|---|
| Index | L'index du bloc de texte Le premier bloc de texte de la liste porte l'index 1 |
| CharIndex | L'index du caractère dont la largeur doit être récupérée Le premier caractère porte l'index 1 |