[英]PowerPoint printing using activex control
We have written an ActiveX control using C# to use it in Microsoft PowerPoint. 我们已经使用C#编写了一个ActiveX控件,以便在Microsoft PowerPoint中使用它。 The control has following Title: 'Test Viewer'.
控件具有以下标题:“测试查看器”。 When I place the control in PowerPoint in edit mode, I see the title in control.
当我将控件置于PowerPoint的编辑模式时,我看到了控件中的标题。 But when I print the slide, it show me a big "X" in the print output.
但是当我打印幻灯片时,它在打印输出中显示了一个大的“ X”。 Print preview looks proper.
打印预览看起来正确。 I tried using 'PrintDocument' and 'PrintPageEventHandler' in the code but that doesn't seem to hit when printing the slide in PowerPoint edit mode.
我尝试在代码中使用“ PrintDocument”和“ PrintPageEventHandler”,但是在PowerPoint编辑模式下打印幻灯片时似乎没有找到。 Can someone throw pointers how to achieve this?
有人可以抛出指针如何实现这一目标吗? Is the data in control need to be communicated in some format?
控制中的数据是否需要以某种格式进行通信?
-Kartlee -卡特里
A similar issue though not with the print can be noticed with powerpoint 2010. When we contacted Microsoft, they confirmed it to be a bug from their side and fixed it. Powerpoint 2010可能会注意到类似的问题,但打印不存在。当我们联系Microsoft时,他们从侧面确认这是一个bug,并进行了修复。 Please find the hotfix here -
请在此处找到此修补程序-
http://support.microsoft.com/kb/2553061 http://support.microsoft.com/kb/2553061
-Karthik -卡尔提克
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.