设置 powerpoint 内容添加高度和宽度
Set powerpoint content addin height and width
我正在使用 yo generator 为 powerpoint 创建一个内容插件。我知道我可以在 manifest.xml:
中指定插件 window 的高度和宽度
<DefaultSettings>
<RequestedHeight>240</RequestedHeight>
<RequestedWidth>280</RequestedWidth>
</DefaultSettings>
我的问题是我想根据ppt演示幻灯片设置插件的高度和宽度。我希望它具有幻灯片的全尺寸。
我怎样才能做到这一点?感谢您的帮助。
不幸的是,当您使用上下文加载项时,您无法动态调整请求的宽度或高度。你DefaultSettings manifest element specify RequestedWidth, which defines upfront the width of the add-in window. More on How a contextual add-in displays.
如果这是您希望添加到即将发布的版本中的新功能,您可以 post 您的场景 https://officespdev.uservoice.com/
我正在使用 yo generator 为 powerpoint 创建一个内容插件。我知道我可以在 manifest.xml:
中指定插件 window 的高度和宽度<DefaultSettings>
<RequestedHeight>240</RequestedHeight>
<RequestedWidth>280</RequestedWidth>
</DefaultSettings>
我的问题是我想根据ppt演示幻灯片设置插件的高度和宽度。我希望它具有幻灯片的全尺寸。 我怎样才能做到这一点?感谢您的帮助。
不幸的是,当您使用上下文加载项时,您无法动态调整请求的宽度或高度。你DefaultSettings manifest element specify RequestedWidth, which defines upfront the width of the add-in window. More on How a contextual add-in displays.
如果这是您希望添加到即将发布的版本中的新功能,您可以 post 您的场景 https://officespdev.uservoice.com/