GetBlockName

Blocchi, interazione

Descrizione

Restituisce il nome di un block template, che è il primo segmento della sua stringa contents

Sintassi

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

Parametri

PageNumero di pagina
BlockIndexIndice del block su quella pagina a base 1

Valori restituiti

Nome del block, o stringa vuota quando l'indice è fuori intervallo

Vedere anche

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock