GetBlockProperty

Blocchi, interazione

Descrizione

Restituisce una proprietà personalizzata di un block template dalla sua lista key=value nei contents

Sintassi

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

Parametri

PageNumero di pagina
BlockIndexIndice del block a base 1
KeyChiave della proprietà; confronto senza distinzione maiuscole/minuscole

Valori restituiti

Valore della proprietà tale e quale, o stringa vuota quando la chiave è assente

Vedere anche

GetBlockName, GetBlockType, GetBlockRect, AddBlock