멀티라인그리드 » Api
  
setheaderfontex
  
Description
멀티라인그리드 헤더의 폰트를 xclass.classFont 클래스를 이용하여 동적으로 변경하는 API이다.
  
  
Parameters
  
    
      | Parameters | 
      Type | 
      Description | 
    
  
  
        
    
        | headerFont | 
        class | 
 	Font Class | 
      
  
  
Return Value
  
    
      | Type | 
      Description | 
    
  
  
    
      | BOOL | 
      정상 적용 여부(true, false) | 
    
  
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 btn_on_mouseup()
{
	var font = new xclass.classFont();
	font.strfontname = "굴림체";
	font.nfontsize = 10;
	font.bfontbold = true;
	multigrid.setheaderfontex(font);
}
  
See Also
getheaderfont
setheaderfontex
  
Viewer Ver.
9.1.1.1
  
Update Date
 20210325