이미지박스의 수직정렬 상태를 반환하는 API이다.
Type | Description |
---|---|
short | 수직정렬 상수 (Remark 참조) |
**수직정렬 상수 XFD_VALIGN_TOP 또는 0 : 상단정렬 XFD_VALIGN_CENTER 또는 1 : 중앙정렬 XFD_VALIGN_BOTTOM 또는 2 : 하단정렬
function btngetvertalign_on_mouseup()
{
var nVert = imagebox.getvertalign();
if(XFD_VALIGN_TOP == nVert) {
screen.alert("top");
} else if(XFD_VALIGN_CENTER == nVert) {
screen.alert("center");
} else if(XFD_VALIGN_BOTTOM == nVert) {
screen.alert("bottom");
}
}