GetBlockProperty
Blocks, Interaction
Description
Returns a custom property of a template block from its contents key=value list
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 StringDLL
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
| Page | Page number |
|---|---|
| BlockIndex | 1-based block index |
| Key | Property key; matched case-insensitively |
Return values
| Property value verbatim, or an empty string when the key is absent |