GetBlockPropertyA

블록, 상호 작용

설명

끝의 A는 ANSI(char) DLL 진입점을 나타내며 ActiveX/COM 표면은 Unicode 형식만 노출합니다. 동작은 GetBlockProperty 함수와 동일하며 문자열 인수는 현재 SetAnsiMode 코드 페이지를 사용하여 해석됩니다

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

구문

Delphi

Function DLGetBlockPropertyA(InstanceID, Page, BlockIndex: Integer; Key: PAnsiChar): PAnsiChar;

DLL

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

매개변수

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

반환 값

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

참고 항목

GetBlockName, GetBlockType, GetBlockRect, AddBlock