GetTextBlockCharWidth
文字, 字型, 擷取
說明
本頁介紹 PDFlibPas 中屬於「文字, 字型, 擷取」主題的 GetTextBlockCharWidth。API 名稱、參數、類別名稱、檔案名稱和字面值保持原樣,以便和 Delphi 函式庫及 DLL 進入點完全對應。
呼叫函式前請查看語法、參數和傳回值。程式碼區塊保留原始形式,便於範例直接複製使用。
語法
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 | TextBlockListID 是 GetTextBlockCharWidth 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
|---|---|
| Index | Index 是 GetTextBlockCharWidth 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
| CharIndex | CharIndex 是 GetTextBlockCharWidth 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |