GetBlockProperty

Blöcke, Interaktion

Beschreibung

Liefert eine eigene Eigenschaft eines Template-Blocks aus dessen key=value-Liste im Contents

Syntax

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);

Parameter

PageSeitennummer
BlockIndex1-basierter Blockindex
KeyEigenschaftsschlüssel; Groß-/Kleinschreibung wird nicht unterschieden

Rückgabewerte

Eigenschaftswert wortgleich, oder ein leerer String, wenn der Schlüssel fehlt

Siehe auch

GetBlockName, GetBlockType, GetBlockRect, AddBlock