//word
var doc = document.getElementById("SOAOfficeCtrl").Document;
doc.ActiveWindow.View.Zoom.Percentage =150;
//excel
var doc = document.getElementById("SOAOfficeCtrl").Document;
doc.ActiveDocument.Application.ActiveWindow.Zoom = 400;
参考:
//word
TANGER_OCX_OBJ.ActiveDocument.ActiveWindow.View.Zoom.Percentage = 50;
//excel
//激活当前控件
TANGER_OCX_OBJ.Activate(true);
TANGER_OCX_OBJ.ActiveDocument.Application.ActiveWindow.Zoom = 400;