트리 » Api

setdepthfont

Description

트리 아이템 깊이별 폰트 정보를 설정하는 API이다.

Parameters

Parameters Type Description
nDepth short 아이템 깊이
strFontName STRING 폰트 이름
nFontSize short 폰트 사이즈
bFontBold BOOL 굵게(bold)효과 적용 여부 또는 폰트 굵기(font-weight) 값(100 ~ 900)
bFontItalic BOOL 이탤릭체(Italic:기울어진체)효과 적용 여부
bFontUnderline BOOL 밑줄(underline)효과 적용 여부
bFontStrikeout BOOL 취소선 효과 적용 여부
bRefresh BOOL [옵션] 트리 리프레쉬 여부(true/false), 기본값 true

Return Value

Type Description
void 없음

Remark

다수의 깊이에 대해서 함수를 연속적으로 호출해야 하는 경우, bRefresh 파라미터 false 값을 파라미터에 설정하고, 맨 마지막에 refresh 함수를 호출하면, 전체 처리 시간 단축 효과를 거둘 수 있다.

Example

function btn_setfont_on_mouseup() { tre.setdepthfont("바탕체", 11, true, true, true, true, true); }

See Also

deletedepthfont

Viewer Ver.

9.1.1.1

Update Date

20200129