我正在尝试使用javascript office api在powerpoint中插入图像。我试图返回一个带有图像的XElement并插入它,但是没有起作用。
发布于 2016-03-09 20:13:00
可以使用
Office.context.document.setSelectedDataAsync(result, {
coercionType: Office.CoercionType.Image,
imageLeft: 50,
imageTop: 50,
imageWidth: 100,
imageHeight: 100
});
但Office.CoercionType.Image仅适用于Office365 ProPlus版本16.0.6741.2014
https://stackoverflow.com/questions/35863487
复制相似问题