이미지박스 » Api

getvertalign

Description

이미지박스의 수직정렬 상태를 반환하는 API이다.

Return Value

Type Description
short 수직정렬 상수 (Remark 참조)

Remark

**수직정렬 상수

XFD_VALIGN_TOP  또는 0 : 상단정렬
XFD_VALIGN_CENTER  또는 1 : 중앙정렬
XFD_VALIGN_BOTTOM  또는 2 : 하단정렬

Example

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

See Also

setvertalign
sethorzalign

Viewer Ver.

9.1.1.1

Update Date

20210315