테이블 » Api

setcellfontex

Description

테이블의 지정한 인덱스 셀의 폰트를 설정하는 API이다.

Parameters

Parameters Type Description
nCellIndex short 셀 인덱스
strFontName STRING 폰트명
nFontSize short 폰트크기
bFontBold BOOL 폰트 굵게 여부 또는 폰트 굵기(font-weight) 값(100 ~ 900)
bFontItalic BOOL 폰트 기울림 여부
bFontUnderLine BOOL 폰트 밑줄 여부

Return Value

Type Description
BOOL 정상 적용 여부(true, false)

Example

function btn_setcellfontex_on_mouseup() { //셀 개수만큼 각 셀의 폰트를 "돋움", 9포인트, 굵게, 기울지않게, 밑줄없이로 설정한다. for(var nI=0; nI < tblTest.getcellcount(); nI++) { tblTest.setcellfontex(nI,"돋움", 9, true, false, false); } }

Viewer Ver.

9.1.1.1

Update Date

20190307