Javascript 设置powerpoint内容外接程序的高度和宽度

Javascript 设置powerpoint内容外接程序的高度和宽度,javascript,ms-office,powerpoint,office-addins,Javascript,Ms Office,Powerpoint,Office Addins,我正在使用为powerpoint创建内容加载项。我知道我可以在manifest.xml中指定加载项窗口的高度和宽度: <DefaultSettings> <RequestedHeight>240</RequestedHeight> <RequestedWidth>280</RequestedWidth> </DefaultSettings> 240 280 我的问题是我想根据ppt演示幻灯片设置加载项的

我正在使用为powerpoint创建内容加载项。我知道我可以在manifest.xml中指定加载项窗口的高度和宽度:

<DefaultSettings>
    <RequestedHeight>240</RequestedHeight>
    <RequestedWidth>280</RequestedWidth>
</DefaultSettings>

240
280
我的问题是我想根据ppt演示幻灯片设置加载项的高度和宽度。我希望它有幻灯片的全尺寸。
我该怎么做?感谢您的帮助。

不幸的是,当您使用上下文加载项时,您无法动态地重新调整请求的宽度或高度。您可以指定manifest元素,它预先定义外接程序窗口的宽度。更多关于


如果这是您希望添加到即将发布的版本中的新功能,您可以将您的场景发布在

感谢您的回答@Slava。