GetBlockType
區塊、互動
描述
傳回範本區塊的類型
語法
Delphi
Function GetBlockType(Page, BlockIndex: Integer): WideString;ActiveX
Function PDFlib::GetBlockType(Page As Long, BlockIndex As Long) As StringDLL
const wchar_t* DLGetBlockType(int InstanceID, int Page, int BlockIndex);
const char* DLGetBlockTypeA(int InstanceID, int Page, int BlockIndex);參數
| Page | 含有該區塊的頁碼(1 起算);查詢後會還原原先選取的頁面 |
|---|---|
| BlockIndex | 該頁面上區塊的索引(1 起算) |
傳回值
| text、image 或 pdf;索引超出範圍時為空字串 |