OWC中SpreadSheet单元格居中的问题
window.form1.ReportData.ActiveSheet.Range("A1").VAlignment = 1;//單元内字元位置縱向調整0:下,1:中,2:下
window.form1.ReportData.ActiveSheet.Range("A1").HAlignment = 2; //單元内字元位置橫向調整1:作,2:中,3:右
这样设置居中,页面提示:对象不支持此属性或方法,这是怎么回事?具体这块应该怎样来设置哪?请高手指点!