컨트롤의 높이(height)값과 높이 단위를 변경하는 API이다.
| Parameters | Type | Description |
|---|---|---|
| height | short | 높이(height)값 |
| nHeightUnit | BOOL | [옵션] 높이 단위 |
| Type | Description |
|---|---|
| BOOL | 정상 처리 여부 |
**높이 단위 속성값 상수 0 : pixel 1 : percent(%)
function btn_setheight_on_mouseup()
{
// 컨트롤의 height를 500px로 변경
btnTest.setheight(500);
// 컨트롤의 height를 100%로 변경
btnTest.setheight(100, 1);
}