GetBlockNameA

區塊、互動

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetBlockName 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

傳回範本區塊的名稱,即其內容字串的第一段

語法

Delphi

Function DLGetBlockNameA(InstanceID, Page, BlockIndex: Integer): PAnsiChar;

DLL

const char* DLGetBlockNameA(int InstanceID, int Page, int BlockIndex);

參數

Page頁碼
BlockIndex該頁面上以 1 為基準的區塊索引

傳回值

區塊名稱,索引超出範圍時為空字串

另請參閱

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock