GetBlockName

Bloki, Interakcja

Opis

Zwraca nazwę bloku szablonu, czyli pierwszy segment jego napisu zawartości

Składnia

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

Parametry

PageNumer strony
BlockIndexIndeks bloku na tej stronie liczony od 1

Wartości zwracane

Nazwa bloku, albo pusty napis, gdy indeks jest poza zakresem

Zobacz również

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock