使用 Office-JS 在 Powerpoint 中锁定编辑控制
我已阅读 Microsoft 有关 Powerpoint 插件的文档:( https://learn.microsoft.com/en-us/office/dev/add-ins/powerpoint),但我找不到以下用例的解决方案:
我需要内容控件可以插入图像、文本并为其设置标签以及阻止用户编辑控件的可能性。
您知道哪个控件可用于此用例或者 Powerpoint 是否支持此功能?
谢谢
I've read the documentation that Microsoft has about Powerpoint addins: (https://learn.microsoft.com/en-us/office/dev/add-ins/powerpoint), but I can't find a solution for the following usecase:
I need a content control that has the possibility to insert images, text and set tags to it as well as the possibility to block the user from editing the control.
Do you know which control can be used for this usecase or if the powerpoint supports this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PowerPoint 没有内容控件。只有Word 可以。在 PowerPoint 中,图像和文本块都是“形状”。您可以通过使用 PowerPoint 特定对象模型中的形状和标签 API 以编程方式将形状添加到演示文稿并以编程方式标记它们。
PowerPoint doesn't have content controls. Only Word does. In PowerPoint, images, and text blocks are "shapes". You can programmatically add shapes to the presentation and programmatically tag them by using the Shapes and Tags APIs in the PowerPoint-specific object model.