네비바 » Api

setfont

Description

컨트롤의 text 폰트 정보를 설정하는 API이다.

Parameters

Parameters Type Description
strFontName STRING 폰트 이름
nFontSize short 폰트 사이즈
bFontBold BOOL 굵게(bold)효과 적용 여부 또는 폰트 굵기(font-weight) 값(100 ~ 900)
bFontItalic BOOL 이탤릭체(Italic:기울어진체)효과 적용 여부
bFontUnderline BOOL 밑줄(underline)효과 적용 여부
bFontStrikeout BOOL 취소선 효과 적용 여부

Return Value

Type Description
void 없음

Example

function btn_setfont_on_mouseup() { btnSetfont.setfont("바탕체", 11, true, true, true, true); //폰트설정 }

See Also

getfont
setfontex

Viewer Ver.

9.1.1.1

Update Date

20190307