原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2020-05-26 10:49:16.923|閱讀 202 次
概述:Spire.Office for .NET更新至v5.5.1,該版本新增加了一些功能,本文將一一為你介紹。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
你在尋找支持在.NET中用編程方法處理各類格式文檔的API嗎?好巧,.NET版企業(yè)級文檔管理組合套包Spire.Office 2020全新出發(fā)!Word、Excel、PPT、PDF、條形碼等格式一網(wǎng)打盡。
目前,Spire.Office for .NET 迎來v5.5.1版的更新。該版本新增加了一些功能,如Spire.PDF支持添加和轉(zhuǎn)換SVG圖片到PDF,支持創(chuàng)建PDF Portfolios;Spire.Doc支持獲取表格以及表格單元格的對角線邊框?qū)傩裕籗pire.XLS支持轉(zhuǎn)換HTML到Excel。與此同時,一些在加載、轉(zhuǎn)換和操作PDF、Word、Excel文檔時出現(xiàn)的問題也得以成功解決。點擊下方按鈕即可下載試用↓↓↓
該版本涵蓋了最新版的Spire.Doc、Spire.PDF、Spire.XLS、Spire.Presentation、Spire.DataExport、Spire.Barcode、Spire.DocViewer、Spire.PDFViewer、Spire.OfficeViewer、Spire.Email。
Dll版本:
新功能
PdfDocument doc1 = new PdfDocument(); doc1.LoadFromSvg(inputFile_svg); PdfDocument doc2 = new PdfDocument(); doc2.LoadFromFile(inputFile_pdf); PdfTemplate template = doc1.Pages[0].CreateTemplate(); template.Draw(doc2.Pages[0].Canvas, new PointF()); doc2.SaveToFile(outputFile, FileFormat.PDF);
PdfDocument doc = new PdfDocument(); doc.LoadFromSvg("test.svg"); doc.SaveToFile("result.pdf", FileFormat.PDF);
Bug修復(fù)
新功能
支持獲取表格以及表格單元格的對角線邊框?qū)傩浴?/span>
//獲取表格的對角線屬性 BorderStyle bs_UP = table.TableFormat.Borders.DiagonalUp.BorderType; Color color_UP = table.TableFormat.Borders.DiagonalUp.Color; float width_UP = table.TableFormat.Borders.DiagonalUp.LineWidth; BorderStyle bs_Down = table.TableFormat.Borders.DiagonalDown.BorderType; Color color_Down = table.TableFormat.Borders.DiagonalDown.Color; float width_Down = table.TableFormat.Borders.DiagonalDown.LineWidth; //獲取表格單元格的對角線屬性 bs_UP = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalUp.BorderType; width_UP = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalUp.LineWidth; color_UP = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalUp.Color; bs_Down = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalDown.BorderType; color_Down = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalDown.Color; width_Down = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalDown.LineWidth;
Bug修復(fù)
新功能
workbook.LoadFromHtml(string fileName); workbook.LoadFromHtml(Stream stream); workbook.LoadFromMHtml(string fileName); workbook.LoadFromMHtml(Stream stream);
Bug修復(fù)
新功能
IAutoShape shape = ppt1.Slides[0].Shapes[0] as IAutoShape; shape.TextFrame.RightToLeftColumns = true;
ppt.Slides[0].Shapes.AppendShape(ShapeType.Line, new PointF(10, 10), new PointF(20, 30));
Bug修復(fù)
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn