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

Parametry

PageNumer strony
BlockIndexIndeks bloku liczony od 1
KeyKlucz 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

Zobacz również

GetBlockName, GetBlockType, GetBlockRect, AddBlock