GetBlockType

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

説明

テンプレートブロックの種類を返します

構文

Delphi

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

ActiveX

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

DLL

const wchar_t* DLGetBlockType(int InstanceID, int Page, int BlockIndex);
const char* DLGetBlockTypeA(int InstanceID, int Page, int BlockIndex);

パラメータ

Pageブロックを含む 1 から始まるページ番号。検索後、以前に選択していたページが復元されます
BlockIndexそのページ上のブロックの 1 から始まるインデックス

戻り値

text、image、pdf のいずれか。インデックスが範囲外なら空文字列

関連項目

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock