使用VSTO隐藏PowerPoint幻灯片 [英] Hide a PowerPoint Slide using VSTO

查看:154
本文介绍了使用VSTO隐藏PowerPoint幻灯片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在开发一个Powerpoint插件。我需要在用户将演示文稿发送到打印机之前隐藏幻灯片,因为根据业务要求不应打印特定的幻灯片。



但我无法找到Slide界面的任何此类属性。



你能否指导我如何使幻灯片不可打印。

Hi All,

I am developing a Powerpoint addin. I need to hide a slide before the user sends his presentation to the printer, as the specific slide should not be printed, as per business requirements.

But I am unable to find any such property for the Slide interface.

Could you guide me as to how can I make the slide non-printable.

推荐答案

您需要创建一个或多个仅包含要打印的幻灯片的PrintRanges(即排除要隐藏的幻灯片),然后调用PrintOut。

请参阅 http://msdn.microsoft.com/en- us / library / office / ff744973(v = office.15).aspx [ ^ ]
You need to create one or more PrintRanges that include only the slides you want to print (i.e. exclude the slide[s] you want to hide) and then call PrintOut.
See http://msdn.microsoft.com/en-us/library/office/ff744973(v=office.15).aspx[^]


这篇关于使用VSTO隐藏PowerPoint幻灯片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆