DAGetTextBlockCharWidth
Text, Fonts, Extraction, Direct access functionality
Description
Returns the width of a particular character within the specified text block.
Syntax
Delphi
function TPDFlib.DAGetTextBlockCharWidth(TextBlockListID, Index, CharIndex: Integer): Double;ActiveX
Function PDFlib::DAGetTextBlockCharWidth(TextBlockListID As Long, Index As Long, CharIndex As Long) As DoubleDLL
double DLDAGetTextBlockCharWidth(int InstanceID, int TextBlockListID, int Index, int CharIndex);Parameters
| TextBlockListID | A value returned by the DAExtractPageTextBlocks or ExtractFilePageTextBlocks functions |
|---|---|
| Index | The index of the text block. The first text block in the list has an index of 1. |
| CharIndex | The index of the character to retrieve the width of. The first character has an index of 1. |