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