GetBlockPropertyA
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 GetBlockProperty and string arguments are interpreted using the current SetAnsiMode code page
Returns a custom property of a template block from its contents key=value list
Syntax
Delphi
Function DLGetBlockPropertyA(InstanceID, Page, BlockIndex: Integer; Key: PAnsiChar): PAnsiChar;
DLL
const char* DLGetBlockPropertyA(int InstanceID, int Page, int BlockIndex, const char* Key);
Parameters
| Page | Page number |
|---|---|
| BlockIndex | 1-based block index |
| Key | Property key; matched case-insensitively |
Return values
| Property value verbatim, or an empty string when the key is absent |