GetBlockPropertyA
區塊、互動
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetBlockProperty 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
從範本區塊內容的 key=value 清單傳回自訂屬性
語法
Delphi
Function DLGetBlockPropertyA(InstanceID, Page, BlockIndex: Integer; Key: PAnsiChar): PAnsiChar;
DLL
const char* DLGetBlockPropertyA(int InstanceID, int Page, int BlockIndex, const char* Key);
參數
| Page | 頁碼 |
|---|---|
| BlockIndex | 以 1 為基準的區塊索引 |
| Key | 屬性鍵;比對不分大小寫 |
傳回值
| 屬性值原樣傳回,鍵不存在時為空字串 |