导入课件(PPTX)
希沃白板团队
# 导入课件(PPTX)
# 方法原型
void ImportPptx(ImportFileModel model);
# 参数
interface ImportFileModel {
/**
* FileUrl:资源字符串,支持 web url 和 data url。
*/
url: string
}
关于资源字符串,请参阅:资源类型。
# 调用示例
window.external.InvokeMethod(JSON.stringify({ "method": "ImportPptx", "args": JSON.stringify({ "url": "http://localhost:5000/%E8%AE%BE%E8%AE%A1%E5%8E%9F%E5%88%99.pptx" })}))