c# – 在“Presenter View”模式下,形状操作变慢

前端之家收集整理的这篇文章主要介绍了c# – 在“Presenter View”模式下,形状操作变慢前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在为PowerPoint 2013开发一个VSTO插件,在演示文稿运行时实时更新自制图表.

图表只是一组形状(矩形,文本块,线条……).

当它更新时,它需要改变一些矩形的大小,它们的背景颜色,一些标签等……它通常很快,除非我在幻灯片选项卡下使用“Presenter View”模式.

激活此选项后,每个UI操作之间至少有一秒的延迟.由于我必须更新包含许多条目的图表,因此更新所有矩形大小和标签大约需要30秒.

我的问题:有没有办法阻止演示文稿更新,做我所有的修改,当一切都完成后,让PowerPoint一次性将更改应用到UI?

MSDN论坛上已经报道了同样的问题:Poor VSTO performance during multiscreen slideshow,PowerPoint 2013

解决方法

Microsoft在2015年为此问题提供了部分解决方案:
https://support.microsoft.com/en-us/help/3099951/october-13,-update-for-office

可以在此处找到Powerpoint 2013特有的kb:
https://support.microsoft.com/en-us/help/3085564

When you turn a slide show to the presenter view and then enter some text in a slide in the normal view in PowerPoint 2013,the text is added slowly in the presenter view but not in the normal view. After all the text is entered,it will appear all at once in the normal view.

在进一步测试之后,它并没有完全解决我的具体方案的问题.

原文链接:https://www.f2er.com/csharp/99777.html

猜你在找的C#相关文章