GetBlockName
區塊、互動
描述
傳回範本區塊的名稱,即其內容字串的第一段
語法
Delphi
Function GetBlockName(Page, BlockIndex: Integer): WideString;ActiveX
Function PDFlib::GetBlockName(Page As Long, BlockIndex As Long) As StringDLL
const wchar_t* DLGetBlockName(int InstanceID, int Page, int BlockIndex);
const char* DLGetBlockNameA(int InstanceID, int Page, int BlockIndex);參數
| Page | 頁碼 |
|---|---|
| BlockIndex | 該頁面上以 1 為基準的區塊索引 |
傳回值
| 區塊名稱,索引超出範圍時為空字串 |