GetBlockTypeA

區塊、互動

描述

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

傳回範本區塊的類型

語法

Delphi

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

DLL

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

傳回值

text、image 或 pdf;索引超出範圍時為空字串

另請參閱

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock