GetBlockProperty

Bloklar, Etkileşim

Açıklama

Bir şablon bloğunun özel özelliğini, içerikteki key=value listesinden döndürür

Sözdizimi

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

Parametreler

PageSayfa numarası
BlockIndex1 tabanlı blok indeksi
KeyÖzellik anahtarı; büyük/küçük harf duyarsız eşleşir

Dönüş değerleri

Özellik değeri olduğu gibi; anahtar yoksa boş dize

Ayrıca bkz

GetBlockName, GetBlockType, GetBlockRect, AddBlock