GetBlockName

Blocs, interaction

Description

Renvoie le nom d’un bloc de gabarit, qui est le premier segment de sa chaîne de contenu

Syntaxe

Delphi

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

ActiveX

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

DLL

const wchar_t* DLGetBlockName(int InstanceID, int Page, int BlockIndex);
const char* DLGetBlockNameA(int InstanceID, int Page, int BlockIndex);

Paramètres

PageNuméro de page
BlockIndexIndice de bloc à partir de 1 sur cette page

Valeurs de retour

Nom du bloc, ou chaîne vide si l’indice est hors plage

Voir aussi

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock