GetBlockProperty

Blokken, interactie

Beschrijving

Geeft een custom property van een template block terug uit diens contents key=value-lijst

Syntaxis

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

Parameters

PagePaginanummer
BlockIndex1-gebaseerde blockindex
KeyProperty-key; matcht case-insensitief

Retourwaarden

Property-waarde letterlijk, of een lege string wanneer de key ontbreekt

Zie ook

GetBlockName, GetBlockType, GetBlockRect, AddBlock