从C#中的幻灯片ID检索PowerPoint幻灯片对象

时间:2020-08-11 00:19:16

标签: c# powerpoint office-addins javascript-api-for-office powerpoint-addins

我正在实现PowerPoint任务窗格加载项。 使用从JavaScript API获得的幻灯片ID,我的方法是将其作为JSON字符串传递给C#Web API,并获取其余的PowerPoint属性。使用幻灯片ID,我无法检索幻灯片的其他属性,否则,我编写的用于修改PowerPoint样式的动作功能将无法使用。

我正在尝试实现C#中的以下代码片段,但到目前为止还没有运气。在这方面的任何建议将非常有帮助。谢谢。

https://docs.microsoft.com/en-us/office/vba/api/powerpoint.slide.slideid (在VB中)

enter image description here

0 个答案:

没有答案