您好,可以试着默认样式到sheet上,字体设置参考链接
var defaultStyle = sheet.getDefaultStyle() || new GC.Spread.Sheets.Style()
defaultStyle.font = 'italic small-caps bold 20pt/22pt "Times New Roman",Georgia,Serif'
"italic small-caps bold 20pt/22pt "Times New Roman",Georgia,Serif"
sheet.setDefaultStyle(defaultStyle)
http://blog.gcpowertools.com.cn/ ... AE%BE%E7%BD%AE.aspx
|