GetBlockType

Bloki, Interakcja

Opis

Zwraca rodzaj bloku szablonu

Składnia

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

Parametry

PageNumer strony liczony od 1, na której znajduje się blok; po odszukaniu przywracana jest poprzednio wybrana strona
BlockIndexIndeks bloku na tej stronie liczony od 1

Wartości zwracane

text, image albo pdf; pusty napis, gdy indeks jest poza zakresem

Zobacz również

GetBlockName, GetBlockRect, GetBlockProperty, AddBlock