멀티라인그리드 » Api
  
getheaderfont
  
Description
멀티라인그리드 헤더에 설정된 폰트 정보를 font class형태로 반환 받는 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;	
}
  
 
  
Example
function btnGetHeaderFont_on_mouseup(objInst)
{
	var headerFont = mgrid.getheaderfont();
	factory.consoleprint("font name : " + headerFont.szfontname);
	factory.consoleprint("font size : " + headerFont.nfontsize);
	factory.consoleprint("font bold : " + headerFont.bfontbold);
	factory.consoleprint("font italic : " + headerFont.bfontitalic);
	factory.consoleprint("font underline : " + headerFont.bfontunderline);
}
** console에 출력 결과 **
font name : Tahoma
font size : 12
font bold : true
font italic : false
font underline : false
  
See Also
setheaderfont
setheaderfontex
  
Viewer Ver.
9.1.1.1
  
Update Date
 20190307