GetBlockProperty
ブロック、インタラクション
説明
テンプレートブロックの contents key=value リストからカスタムプロパティを 1 つ返します
構文
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 | 1 起算のブロックインデックス |
| Key | プロパティのキー。大文字小文字を区別せず一致させます |
戻り値
| プロパティ値をそのまま返します。キーがなければ空文字列 |