GetTextBlockCharWidth
文字, 字型, 擷取
描述
傳回指定文字區塊中特定字元的寬度
語法
Delphi
Function TPDFlib.GetTextBlockCharWidth(TextBlockListID, Index, CharIndex: Integer): Double;
ActiveX
Function PDFlib::GetTextBlockCharWidth(TextBlockListID As Long, Index As Long, CharIndex As Long) As Double
DLL
double DLGetTextBlockCharWidth(int InstanceID, int TextBlockListID, int Index, int CharIndex);
參數
| TextBlockListID | 由 ExtractPageTextBlocks 函式傳回的值 文字區塊的索引。清單中第一個區塊的索引為 1。 |
|---|---|
| Index | |
| CharIndex | 要取出寬度的字元索引。第一個字元的索引為 1。 |