0
我試圖在使用JavaScript辦公室api的PowerPoint中插入圖像。我試圖返回一個XElement的圖像並插入它,但它沒有奏效。Javascript辦公室api在PowerPoint中插入圖像
我試圖在使用JavaScript辦公室api的PowerPoint中插入圖像。我試圖返回一個XElement的圖像並插入它,但它沒有奏效。Javascript辦公室api在PowerPoint中插入圖像
有可能使用
Office.context.document.setSelectedDataAsync(result, {
coercionType: Office.CoercionType.Image,
imageLeft: 50,
imageTop: 50,
imageWidth: 100,
imageHeight: 100
});
但只適用於Office 365個PROPLUS版本Office.CoercionType.Image可16.0.6741.2014