Spire.Presentation | 新闻
|
028-81705109
|
|
微信扫一扫
|

在线编辑/WebAPI

Spire.Presentation 9.1已发布。该版本升级了VS2019工程框架至4.6.2版本。此外,还进行了一系列其他调整,例如移除了MonoAndroid、Xamarin.iOS。详情请阅读以下内容。 功能调整: 升级VS2019工程框架升级至4.6.2版本。 移除了MonoAndroid、Xamarin.iOS。 移除了产品中的Spire.Pdf.dll 引用。 废弃了Spire.Pdf.Sercurity.PdfSecurity,并使用新接口Spire.Presentation.External.Pdf.PdfSecurity进行替换。 废弃了Spire.Pdf.PdfConformanceLevel,并使用新接口Spire.Presentation.External.pdf.PdfConformanceLevel进行替换。 presentation.SaveToPdfOption.PdfConformanceLevel = Spire.Presentation.External.Pdf.PdfConformanceLevel.Pdf_A1A; 获取Spire.Presentationt 9.1请点击: https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html
Spire.Presentation 8.12.2 已发布。本次更新新增支持将母版页转换为图片,同时增强了 PPT 到 PDF 的转换功能。此外,改版本还修复了改变图表标签的位置后效果不正确的问题。详情请阅读以下内容。 新功能: 支持将母版页转换为图片。 Presentation ppt = new Presentation(); ppt.LoadFromFile("1.pptx"); for (int i = 0; i < ppt.Masters[0].Layouts.Count; i++) { Image image = ppt.Masters[0].Layouts[i].SaveAsImage(); String fileName = String.Format("{0}.png", i); image.Save(fileName, System.Drawing.Imaging.ImageFormat.Png);…
Spire.Presentation 8.11.1 已发布。本次更新新增支持多项功能,如获取形状中文本区域的高度和宽度以及获取形状中多行的文本。此外,本次更新还修复了执行 shape.TextFrame.GetTextLocation() 方法时程序抛出 System.InvalidCastException 异常的问题。详情请阅读以下内容。 新功能: 支持转换形状到SVG时保持形状相对幻灯片的位置信息。 byte[] svgByte = shape.SaveAsSvgInSlide(); FileStream fs = new FileStream("shapePath_" + num + ".svg", FileMode.Create); fs.Write(svgByte, 0, svgByte.Length); fs.Close(); 支持获取形状中的文本区域的高度和宽度。 IAutoShape autoShape = shape as IAutoShape; SizeF size…
Spire.Presentation 8.10.2已发布。该版本新增支持获取形状内文本的位置信息的功能。同时也支持获取形状中文本的“Ascent”和“Descent”属性和将形状转换为SVG格式。此外,还修复了将PPT转换为SVG后,用浏览器打开SVG文件时出现空白的问题。详情请阅读以下内容。 新功能: 支持获取形状内文本的位置信息。 Presentation ppt = new Presentation(); ppt.LoadFromFile(inputFile); StringBuilder sb = new StringBuilder(); ISlide slide = ppt.Slides[0]; for (int i = 0; i < slide.Shapes.Count; i++) { IShape shape = slide.Shapes[i]; if (shape is…