GetBlockType

Blocs, interaction

Description

Renvoie le type d’un bloc de gabarit

Syntaxe

Delphi

Function GetBlockType(Page, BlockIndex: Integer): WideString;

ActiveX

Function PDFlib::GetBlockType(Page As Long, BlockIndex As Long) As String

DLL

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

Paramètres

PageNuméro de page à base 1 qui contient le bloc ; la page sélectionnée précédemment est restaurée après la recherche
BlockIndexIndex à base 1 du bloc sur cette page

Valeurs de retour

text, image ou pdf ; chaîne vide si l’indice est hors plage

Voir aussi

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock