Spire.Presentation for Python 10.7.1 更新已发布。本次更新新增支持添加 SVG 到 PPT,同时优化并模块化设计了命名空间结构。更多详细信息请阅读以下内容。
调整:
- 优化并模块化设计了命名空间结构。
新功能:
- 支持添加SVG到PPT。
#Load a PPT document
presentation = Presentation()
#Insert svg to PPT
presentation.Slides[0].Shapes.AddFromSVGAsShapes(SvgFile)
#Save the document
presentation.SaveToFile(outputFile, FileFormat.Pptx2010)
presentation.Dispose()
获取Spire.Presentation for Python 10.7.1,请点击: