GetBlockProperty
Bloki, Interakcja
Opis
Zwraca własną właściwość bloku szablonu z jego listy key=value w zawartości
Składnia
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);Parametry
| Page | Numer strony |
|---|---|
| BlockIndex | Indeks bloku liczony od 1 |
| Key | Klucz właściwości; dopasowywany bez rozróżniania wielkości liter |
Wartości zwracane
| Wartość właściwości dosłownie, albo pusty napis, gdy klucza brakuje |