RGB 수치를 가지고 색상을 넘겨주는 API이다.
Parameters | Type | Description |
---|---|---|
nRValue | short | Red 값 |
nGValue | short | Green 값 |
nBValue | short | Blue 값 |
Type | Description |
---|---|
COLOR | 색상 |
nRValue, nGValue, nBValue 파라미터를 모두 입력해야 하며 그렇지 않은 경우 NaN값이 반환된다.
function btnSetheaderbackcolor_on_mouseup()
{
var clrBack = factory.rgb(135, 120, 5);
grdTest.setheaderbackcolor(0, 0, clrBack);
}