GetBlockProperty

블록, 상호 작용

설명

템플릿 블록의 contents key=value 목록에서 사용자 지정 속성을 반환합니다

구문

Delphi

Function GetBlockProperty(Page, BlockIndex: Integer; Const Key: WideString): WideString;

ActiveX

Function PDFlib::GetBlockProperty(Page As Long, BlockIndex As Long, Key As String) As String

DLL

const wchar_t* DLGetBlockProperty(int InstanceID, int Page, int BlockIndex, const wchar_t* Key);
const char* DLGetBlockPropertyA(int InstanceID, int Page, int BlockIndex, const char* Key);

매개변수

Page페이지 번호
BlockIndex1 기반 블록 인덱스
Key속성 키. 대소문자 구분 없이 일치

반환 값

속성 값을 그대로. 키가 없으면 빈 문자열

참고 항목

GetBlockName, GetBlockType, GetBlockRect, AddBlock