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