DAGetTextBlockCharWidth
文字、字型、擷取、直接存取功能
描述
傳回指定文字區塊中特定字元的寬度
語法
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);
參數
| TextBlockListID | 由 DAExtractPageTextBlocks 或 ExtractFilePageTextBlocks 函式傳回的值 |
|---|---|
| Index | 文字區塊的索引。清單中的第一個文字區塊索引為 1。 |
| CharIndex | 要取出寬度的字元索引。第一個字元的索引為 1。 |