GetBlockType
Blocks, Interaction
Description
Returns the kind of a template block
Syntax
Delphi
Function GetBlockType(Page, BlockIndex: Integer): WideString;ActiveX
Function PDFlib::GetBlockType(Page As Long, BlockIndex As Long) As StringDLL
const wchar_t* DLGetBlockType(int InstanceID, int Page, int BlockIndex);
const char* DLGetBlockTypeA(int InstanceID, int Page, int BlockIndex);Parameters
| Page | One-based page number holding the block; the previously selected page is restored after the lookup |
|---|---|
| BlockIndex | One-based index of the block on that page |
Return values
| text, image or pdf; an empty string when the index is out of range |