GetBlockName

Блоки, взаимодействие

Описание

Возвращает имя шаблонного блока — первый сегмент его строки содержимого

Синтаксис

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

Параметры

PageНомер страницы
BlockIndexИндекс блока на странице, начиная с единицы

Возвращаемые значения

Имя блока или пустая строка, когда индекс вне диапазона

См. также

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock