Powerpoint如何获取用户所在的当前缩放%?

时间:2016-04-07 15:19:23

标签: c# .net powerpoint office-interop

使用Microsoft Interop程序集我想获得用户当前所处的缩放百分比。通过缩放百分比表示编辑模式下右下角的条形值。

我知道如何制作powerpoint对象并打开文件等,只是不知道如何获取缩放值。

在网上找不到任何想法?

1 个答案:

答案 0 :(得分:2)

Application.ActiveWindow.View.Zoom

应返回数字,如果需要,请将其显示为Application.ActiveWindow.View.Zoom + "%"