原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2021-01-26 10:31:28.167|閱讀 259 次
概述:Spire.Office for .NET更新至v6.1,本次更新帶了一系列新的功能,例如:Spire.XLS 支持計算 MS Excel2019 新增公式,增加了在氣泡圖中不顯示圖表標題和轉(zhuǎn)換Shape到圖片等新功能;Spire.PDF 支持了自定義簽名圖片的功能;Spire.Presentation 支持嵌入 zip 對象到 PPTX 文件;Spire.PDFViewer 支持了顯示頁面標簽的功能等等。此外,該版本還修復了大量問題。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
你在尋找支持在.NET中用編程方法處理各類格式文檔的API嗎?好巧,.NET版企業(yè)級文檔管理組合套包Spire.Office 2020全新上線!Word、Excel、PPT、PDF、條形碼等格式一網(wǎng)打盡。
目前,Spire.Office for .NET v6.1 2021年首版現(xiàn)已正式發(fā)布。本次更新帶了一系列新的功能,例如:Spire.XLS 支持計算 MS Excel2019 新增公式,增加了在氣泡圖中不顯示圖表標題和轉(zhuǎn)換Shape到圖片等新功能;Spire.PDF 支持了自定義簽名圖片的功能;Spire.Presentation 支持嵌入 zip 對象到 PPTX 文件;Spire.PDFViewer 支持了顯示頁面標簽的功能等等。此外,該版本還修復了大量問題。點擊下方按鈕即可下載試用↓↓↓
免費下載Spire.Office for .NET v6.1
新功能及問題修復詳情,請參閱如下內(nèi)容。
功能優(yōu)化:
新功能:
chart.HasChartTitle = false;
移除邊框兩種方式:設置picture.Line.Visible = false或設置Line.Weight = 0
Image img = shape.SaveToImage(); shape.SaveToImage(string fileName); shape.SaveToImage(string fileName, ImageFormat imageFormat); shape.SaveToImage(Stream fileStream); shape.SaveToImage(Stream fileStream, ImageFormat imageFormat);
Workbook book = new Workbook(); book.LoadFromFile(input); foreach (Worksheet sheet in book.Worksheets) { foreach (ExcelPicture picture in sheet.Pictures) { picture.Compress(30); } } book.SaveToFile(result, ExcelVersion.Version97to2003);
問題修復:
問題修復:
新功能:
PdfSignature signature = new PdfSignature(doc, page, cert, "123456"); signature.ConfigureCustomGraphics(DrawGraphics); private void DrawGraphics(PdfCanvas g) { PointF point1 = new PointF(10, 20); PointF point2 = new PointF(25, 50); PointF point3 = new PointF(60, 20); PointF[] pntArr = { point1, point2, point3 }; PdfRGBColor color = new PdfRGBColor(Color.Red); g.DrawPolygon(new PdfPen(color), pntArr); g.DrawRectangle(new PdfPen(Color.Green), new RectangleF(70, 10, 20, 30)); g.DrawLine(new PdfPen(Color.Blue), new PointF(120, 50), new PointF(95, 5)); g.DrawLine(new PdfPen(Color.Blue), new PointF(100, 30), new PointF(130, 20)); }
問題修復:
新功能:
String zipPath= "C:/test.zip"; Presentation ppt = new Presentation(); byte[] data = File.ReadAllBytes(zipPath); Rectangle rec = new Rectangle(80, 60, 100, 100); //The first parameter needs to be passed the complete file name IOleObject ole = ppt.Slides[0].Shapes.AppendOleObject("test.zip", data, rec); ole.ProgId = "Package"; Image image = Image.FromFile(@"E:\demoProducts\Image\logo.png"); IImageData oleImage = ppt.Images.Append(image); ole.SubstituteImagePictureFillFormat.Picture.EmbedImage = oleImage; ppt.SaveToFile(@"result.pptx", Spire.Presentation.FileFormat.Pptx2013);
問題修復:
新功能:
BarcodeScan task1 = new BarcodeScan(); task1.Scan(bitmap, rectangle, barcodeType);
問題修復:
新功能:
問題修復:
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn