GetBlockTypeA

Blocks, Interação

Descrição

O A final indica o ponto de entrada DLL ANSI (char); a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de GetBlockType e os argumentos string são interpretados usando a página de código atual de SetAnsiMode

Retorna o tipo de um block de template

Sintaxe

Delphi

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

DLL

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

Valores retornados

text, image ou pdf; string vazia quando o índice está fora da faixa

Veja também

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock