GetBlockType

Blokken, interactie

Beschrijving

Geeft het soort van een template block terug

Syntaxis

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);

Parameters

Page1-gebaseerd paginanummer waarop het blok staat; de eerder geselecteerde pagina wordt na de lookup hersteld
BlockIndex1-gebaseerde index van het blok op die pagina

Retourwaarden

text, image of pdf; een lege string wanneer de index buiten bereik is

Zie ook

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock