原創|產品更新|編輯:李顯亮|2020-01-03 13:27:35.877|閱讀 422 次
概述:令人興奮的是,在2020新年開年之際,.NET版Aspose.Words迎來了新年第一次更新!新增了如下五大新功能,歡迎下載體驗。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Aspose.Words for .Net是一種高級Word文檔處理API,用于執行各種文檔管理和操作任務。API支持生成,修改,轉換,呈現和打印文檔,而無需在跨平臺應用程序中直接使用Microsoft Word。
令人興奮的是,在2020新年開年之際,.NET版Aspose.Words迎來了新年第一次更新!新增了如下五大新功能:
>>你可以點擊這里下載Aspose.Words for .NET v20.1測試體驗
key | 概述 | 類別 |
---|---|---|
WORDSNET-12444 | 支持API檢查VBAcode是否已簽名 | 新功能 |
WORDSNET-12204 | 添加功能以設置/獲取浮動表的位置 | 新功能 |
WORDSNET-19648 | 使用LINQ Reporting Engine創建書簽 | 新功能 |
WORDSNET-11833 | 添加功能以在使用InsertOleObject時插入IconCaption | 新功能 |
WORDSNET-19366 | 在使用InsertOleObject時插入IconCaption的功能 | 新功能 |
WORDSNET-18818 | 使DML圖像渲染對具有損壞的SVG擴展名的圖像具有彈性 | 增強功能 |
WORDSNET-19498 | 內容已推送到PDF的前一頁 | 增強功能 |
WORDSNET-11110 | 表格布局的DOC至PDF轉換問題 | 增強功能 |
完整更新細則請參考:【Aspose.Words for .NET v20.1更新說明】
////// Shows whether the VbaProject is signed or not.///public bool IsSigned
Document doc = new Document("some doc"); Table table = document.FirstSection.Body.Tables\[0\];table.AbsoluteHorizontalDistance = 10; // sets absolute table horizontal position at 10pt.table.RelativeVerticalAlignment = VerticalAlignment.Center; // sets vertical table position to center of entity specified by Table.VerticalAnchor.
////// Inserts an embedded or linked OLE object as icon into the document. /// Allows to specify icon file and caption. Detects OLE object type using file extension. //////Full path to the file.////// If true then linked OLE object is inserted otherwise embedded OLE object is inserted.///////// Full path to the ICO file. /// If the value is null or the ICO file is not readable, Aspose.Words will use a predefined image.//////Icon caption.///Shape node containing Ole object and inserted at the current Builder position.public Shape InsertOleObjectAsIcon(string fileName, bool isLinked, string iconFile, string iconCaption)用例:
Document doc = new Document();DocumentBuilder builder = new DocumentBuilder(doc);Shape shape = builder.InsertOleObjectAsIcon("C:\\embedded.xlsx", false, "C:\\icon.ico", "My embedded file");doc.Save("C:\\output.docx");
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn