Spire.Office 修补程序版本更新至最新版v4.9.0,此版本添加netstandard2.0文件夹以放置可与Azure功能配合使用的dll,并支持一些新功能,下面我们一起来了解一下。
Spire.Office for .NET是企业级Office.NET组件的组合。它包括Spire.Doc、Spire.XLS、Spire.Spreadsheet、Spire.Presentation、Spire.PDF、Spire.DataExport、Spire.OfficeViewer、Spire.PDFViewer、Spire.DocViewer、Spire.Barcode和Spire.Email。
使用Spire.Office for .NET,开发人员可以创建各种应用程序。它使开发人员能够打开,创建,修改,转换,打印,查看MS Word、Excel、PowerPoint和PDF文档。此外,它允许用户将数据导出到流行文件,如MS Word / Excel / RTF / Access、PowerPoint、PDF、XPS、HTML、XML、文本、CSV、DBF、剪贴板、SYLK、PostScript、PCL等。>>欢迎免费下载Spire.Office for .NET最新试用版
Spire.Office 修补程序版本更新至最新版v4.9.0,此版本添加netstandard2.0文件夹以放置可与Azure功能配合使用的dll,并支持一些新功能,例如:
-
Spire.PDF支持在.net核心平台上将HTML转换为PDF并获取PdfFreeTextAnnotationWidget的标注行。
-
Spire.Doc支持添加数字签名。
-
Spire.Presentation支持将图像和视频插入占位符并设置圆角矩形的半径。
-
Spire.XLS支持基于数据透视表创建图表并添加箭头线。
-
此外,将PDF转换为SVG /图像,XPS转换为PDF,Word转换为PDF,Html转换为Docx,PPT转换为SVG /图像,Excel转换为PDF / HTML,复制单元格范围和打印PDF时出现的一系列问题已成功修复。
DLL版本:
- Spire.Doc.dll v7.8.17
- Spire.Pdf.dll v5.8.17
- Spire.XLS.dll v9.9.1
- Spire.Presentation.dll v4.8.16
- Spire.Email.dll v2.4.19
- Spire.DocViewer.Forms.dll v4.5.12
- Spire.PdfViewer.Forms.dll v4.8.2
- Spire.PdfViewer.Asp.dll v4.8.2
- Spire.Spreadsheet v3.8.2
- Spire.OfficeViewer.Forms.dll v4.9.0
- Spire.Barcode.dll v3.7.0
- Spire.DataExport.dll v4.1.9
- Spire.DataExport.ResourceMgr.dll v2.1.0
- Spire.Common.dll v2.9.1
- Spire.License.dll v1.3.7
Sipre.PDF()
新功能
-
支持在.Net Core平台上将HTML转换为PDF。
-
添加一个新属性以获取PdfFreeTextAnnotationWidget的标注行。
public PointF [] CalloutLines {get; }
-
添加新属性以获取PdfFreeTextAnnotationWidget的行结束样式。
public PdfLineEndingStyle LineEndingStyle {get; }
-
添加新属性以获取或设置PdfFreeTextAnnotationWidget和PdfFreeTextAnnotation的矩形diffecences数组。
public float [] RectangleDifferences {get; 组; }
Sipre.DOC()
新功能
-
NETStandard和NETCore支持数字签名。
Sipre.Presentation()
新功能
-
支持将图像和视频插入占位符。
Presentation ppt = new Presentation(); ppt.LoadFromFile( “test.pptx”); for(int j = 0; j<ppt.Slides.Count; j ++) { ISlide slide =(ISlide)ppt.Slides [j]; for(int i = 0; i <slide.Shapes.Count; i ++) { 形状形状=(形状)slide.Shapes [i]; 开关(shape.Placeholder.Type) { case PlaceholderType.Media: shape.InsertVideo( “Video.mp4”); 打破; case PlaceholderType.Picture: shape.InsertPicture(为 “Logo.png”); 打破; case PlaceholderType.Chart: shape.InsertChart(ChartType.ColumnClustered); 打破; case PlaceholderType.Table: shape.InsertTable(3,2); 打破; case PlaceholderType.Diagram: shape.InsertSmartArt(SmartArtLayoutType.BasicBlockList); 打破; } } }
-
支持设置圆角矩形的半径。
演示文稿演示=新演示文稿();presentation.Slides [0] .Shapes.InsertRoundRectangle(0,60,90,100,200,36);presentation.Slides [0] .Shapes.AppendRoundRectangle(60,290,100,200,50);presentation.SaveToFile(“result.pdf”,FileFormat.PDF);presentation.SaveToFile(“result.pptx”,FileFormat.Pptx2013);
-
支持在主题中获取模板名称。
演示文稿演示=新演示文稿();presentation.LoadFromFile(文件); for(int i = 0; i<presentation.Slides.Count; i ++) { string name = presentation.Slides [i] .Layout.Name; }
Sipre.XLS()
新功能
-
支持基于数据透视表创建图表。
worksheet.Charts.Add(ExcelChartType.BarClustered,pivotTable);
-
支持添加箭头线。
var arrowline = workbook.Worksheets [0] .TypedLines.AddLine();line.Top = 50; line.Left = 30; line.Width = 300;line.Height = 500;line.BeginArrowHeadStyle = ShapeArrowStyleType.LineArrowDiamond;line.EndArrowHeadStyle = ShapeArrowStyleType.LineArrow;
-
在TypedLines / TypedCheckBoxes / TypedTextBoxes / TypedRadioButtons / TypedComboBoxes之后添加方法AddCopy()来复制形状。
wb.Worksheets [0] .TypedLines.AddCopy(线);
推荐阅读
【想要快速完成文档格式转换吗pire系列组件格式转换完整攻略来啦!】
*购买Spire系列产品正版授权的朋友可以点击“咨询在线客服”哦~满额即送超值好礼!

标签:
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!