스케쥴 » Api

setdatefont

Description

스케쥴 컴포넌트의 날짜 폰트 정보를 설정하는 API이다.

Parameters

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

Return Value

Type Description
BOOL 정상 처리 여부

Remark

strDate 파라미터를 지정하지 않거나, 공백 문자열을 지정하는 경우, 전체 날짜 폰트 정보를 지정한다.

Example

function btn_setfont_on_mouseup() { // 전체 날짜 폰트 수정 schedule.setdatefont("바탕체", 11, true, true, true, true); // "20181113" 날짜에 해당하는 폰트만 수정 schedule.setdatefont("바탕체", 11, true, true, true, true, "20181113"); }

Viewer Ver.

9.1.1.1

Update Date

20190307