GetBlockProperty

Blocs, interaction

Description

Renvoie une propriété personnalisée d’un bloc de gabarit depuis sa liste clé=valeur de contenu

Syntaxe

Delphi

Function GetBlockProperty(Page, BlockIndex: Integer; Const Key: WideString): WideString;

ActiveX

Function PDFlib::GetBlockProperty(Page As Long, BlockIndex As Long, Key As String) As String

DLL

const wchar_t* DLGetBlockProperty(int InstanceID, int Page, int BlockIndex, const wchar_t* Key);
const char* DLGetBlockPropertyA(int InstanceID, int Page, int BlockIndex, const char* Key);

Paramètres

PageNuméro de page
BlockIndexIndice de bloc à partir de 1
KeyClé de propriété ; correspondance insensible à la casse

Valeurs de retour

Valeur de propriété telle quelle, ou chaîne vide si la clé est absente

Voir aussi

GetBlockName, GetBlockType, GetBlockRect, AddBlock