GetBlockName

Blöcke, Interaktion

Beschreibung

Liefert den Namen eines Template-Blocks, also das erste Segment seines Contents-Strings

Syntax

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

Parameter

PageSeitennummer
BlockIndex1-basierter Blockindex auf dieser Seite

Rückgabewerte

Blockname oder ein leerer String, wenn der Index außerhalb des Bereichs liegt

Siehe auch

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock