GetBlockName

블록, 상호 작용

설명

템플릿 블록의 이름을 반환합니다. contents 문자열의 첫 세그먼트입니다

구문

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해당 페이지의 1 기반 블록 인덱스

반환 값

블록 이름. 인덱스가 범위를 벗어나면 빈 문자열

참고 항목

GetBlockType, GetBlockRect, GetBlockProperty, AddBlock