GetBlockName

區塊、互動

描述

傳回範本區塊的名稱,即其內容字串的第一段

語法

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