GetBlockType

Blöcke, Interaktion

Beschreibung

Liefert die Art eines Template-Blocks

Syntax

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

Parameter

Page1-basierte Seitenzahl mit dem Block; die zuvor ausgewählte Seite wird nach dem Nachschlagen wiederhergestellt
BlockIndex1-basierter Index des Blocks auf dieser Seite

Rückgabewerte

text, image oder pdf; ein leerer String, wenn der Index außerhalb des Bereichs liegt

Siehe auch

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock