GetBlockTypeA

Blocks, Interaction

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetBlockType and string arguments are interpreted using the current SetAnsiMode code page

Returns the kind of a template block

Syntax

Delphi

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

DLL

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

Return values

text, image or pdf; an empty string when the index is out of range

See also

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock