GetBlockProperty
Блоки, взаимодействие
Описание
Возвращает пользовательское свойство шаблонного блока из его списка key=value в содержимом
Синтаксис
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);Параметры
| Page | Номер страницы |
|---|---|
| BlockIndex | Индекс блока, начиная с единицы |
| Key | Ключ свойства; сопоставляется без учёта регистра |
Возвращаемые значения
| Значение свойства дословно или пустая строка, когда ключ отсутствует |