首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 办公应用 > OFFICE教程 >

soaoffice设立显示比例

2012-06-25 
soaoffice设置显示比例//word?var doc document.getElementById(SOAOfficeCtrl).Document?? ? ? ? do

soaoffice设置显示比例

//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;

热点排行