GetBlockName
Blocks, Interaction
Description
Returns the name of a template block, which is the first segment of its contents string
Syntax
Delphi
Function GetBlockName(Page, BlockIndex: Integer): WideString;ActiveX
Function PDFlib::GetBlockName(Page As Long, BlockIndex As Long) As StringDLL
const wchar_t* DLGetBlockName(int InstanceID, int Page, int BlockIndex);
const char* DLGetBlockNameA(int InstanceID, int Page, int BlockIndex);Parameters
| Page | Page number |
|---|---|
| BlockIndex | 1-based block index on that page |
Return values
| Block name, or an empty string when the index is out of range |