GetBlockName

ブロック、インタラクション

説明

テンプレートブロックの名前を返します。contents 文字列の最初のセグメントです

構文

Delphi

Function GetBlockName(Page, BlockIndex: Integer): WideString;

ActiveX

Function PDFlib::GetBlockName(Page As Long, BlockIndex As Long) As String

DLL

const wchar_t* DLGetBlockName(int InstanceID, int Page, int BlockIndex);
const char* DLGetBlockNameA(int InstanceID, int Page, int BlockIndex);

パラメータ

Pageページ番号
BlockIndexそのページでの 1 起算ブロックインデックス

戻り値

ブロック名。インデックスが範囲外なら空文字列

関連項目

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock