如何在 Lync SDK 上共享 Powerpoint 演示文稿? (WPF应用程序)
我正在尝试找到一种在基于 Lync SDK 的 WPF 应用程序上共享演示文稿的方法。但到目前为止,我还没有找到方法。
AutomationModailities
类仅支持音频、视频、文本和文件共享。 Toolbox 上也没有用于共享演示文稿的 Lync 相关按钮。
我想要实现的就是在代码隐藏中以编程方式实现这一点。就像当用户单击在我的 WPF 应用程序上动态创建的按钮时,它将执行与此相同的效果;
感谢任何帮助!谢谢!
I'm trying to find a way to share my presentation on my WPF application based on Lync SDK. But so far, I couldn't found a way.
AutomationModailities
class only supports audio, video, text and file sharing. There are no Lync related buttons for sharing presentation on Toolbox neither.
What I want to achieve is this, programmatically on the codebehind. Like when user clicks on a button created dynamically on my WPF application it will do the same effect as this;
Any help is appreciated! Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为目前 Lync SDK 无法实现这一点。正如您自己发现的那样,AutomationModalities 中不支持 powerpoint 共享。
另一件让我认为底层 API 不支持此功能的事情是,没有提供此功能的 Lync SDK UI 控件。
您可以通过使用 Win32 调用和 的组合来执行某些操作SendKeys 将击键发送到对话窗口,打开“共享/Powerpoint 演示文稿”菜单选项
I don't think this is currently possible with the Lync SDK. As you dicovered yourself, there is no support for powerpoint sharing in AutomationModalities.
The other thing that makes me think the underlying API does not support this is that there are no Lync SDK UI controls that offer this functionality.
You could potentially do something by using a combination of Win32 calls and SendKeys to send keystrokes to the conversation window, to open the "Share/Powerpoint Presentation" menu option