네비바 » Api
getitemsepfont
Description
네비바의 아이템 구분자의 폰트를 반환하는 API이다.
Return Value
Type |
Description |
class |
font class |
Remark
font class 선언은 아래와 같습니다.
classFont = function()
{
this.szfontname = "굴림체";
this.nfontsize = 9;
this.bfontbold = false; // 또는 폰트 굵기(font-weight) 값(100 ~ 900)
this.bfontitalic = false;
this.bfontunderline = false;
this.bfontstrikeout = false;
}
Example
function getitemsepfont_on_mouseup(objInst)
{
var itemFont = navi01.getitemsepfont();
factory.consoleprint("font name : " + itemFont.szfontname);
factory.consoleprint("font size : " + itemFont.nfontsize);
factory.consoleprint("font bold : " + itemFont.bfontbold);
factory.consoleprint("font italic : " + itemFont.bfontitalic);
factory.consoleprint("font underline : " + itemFont.bfontunderline);
factory.consoleprint("font strikeout : " + itemFont.bfontstrikeout);
}
** console에 출력 결과 **
font name : Tahoma
font size : 12
font bold : true
font italic : false
font underline : false
font stikeout : false;
See Also
setitemsepfont
setitemsep
setitemsepforecolor
setitemsepshow
setitemsepimage
setitemsepwidth
getitemsep
getitemsepforecolor
getitemsepshow
getitemsepimage
getitemsepwidth
Viewer Ver.
9.1.1.1
Update Date
20200618