原創|產品更新|編輯:李顯亮|2020-03-17 11:21:44.227|閱讀 228 次
概述:Aspose.HTML for .NET更新至v20.3,在此版本中,我們改進了對損壞字體和無效URL的處理。我們還對渲染過程進行了一些改進,歡迎下載體驗。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Aspose.HTML for .NET是一種高級HTML操作API,用于在.NET應用程序中創建和操作HTML文檔。開發人員可以插入,刪除,替換HTML節點,提取CSS樣式,通過NodeIterator,遍歷規范提供的TreeWalker,XPath或CSS選擇器查詢來瀏覽HTML文檔。
Aspose.HTML for .NET更新至v20.3,在此版本中,我們改進了對損壞字體和無效URL的處理。我們還對渲染過程進行了一些改進,包括:
key | 概述 | 類別 |
---|---|---|
HTMLNET-2436 | HTML無法正確轉換為PDF | Bug修復 |
HTMLNET-2452 | HTML到圖像-發生NullReferenceException | Bug修復 |
HTMLNET-2439 | 本地主機站點到映像轉換期間的異常 | Bug修復 |
HTMLNET-2461 | HTML到圖像轉換掛起 | Bug修復 |
HTMLNET-2441 | Aspose.HTML 20.1無法解析URL | Bug修復 |
HTMLNET-2343 | 有關Aspose庫如何緩存用戶數據/文件以提高性能的文檔 | Bug修復 |
為EPUB和MHTML轉換器添加了新的簽名。現在,可以使用URL或字符串路徑指定輸入文件 。
namespace Aspose.Html.Converters { public static class Converter { ////// Convert epub source to xps. Result is xps file. //////Conversion source path.///Conversion options.///Output file path.public static void ConvertEPUB(string sourcePath, XpsSaveOptions options, string outputPath); ////// Convert epub source to xps. Result is xps file. //////The source URL.///Conversion options.///Output file path.public static void ConvertEPUB(Url sourceUrl, XpsSaveOptions options, string outputPath); ////// Convert epub source to xps. Result is xps file. //////Conversion epub source file path.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath); ////// Convert epub source to xps. Result is xps file. //////The source URL.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(Url sourceUrl, Configuration configuration, XpsSaveOptions options, string outputPath); ////// Convert epub source to xps. Result is xps file. //////Conversion epub source file path.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to xps. Result is xps file. //////The source URL.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(Url sourceUrl, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to xps. Result is xps file. //////Conversion epub source file path.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to xps. Result is xps file. //////The source URL.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(Url sourceUrl, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to pdf. Result is pdf file. //////Conversion epub source file path.///Conversion options.///Output file path.public static void ConvertEPUB(string sourcePath, PdfSaveOptions options, string outputPath); ////// Convert epub source to pdf. Result is pdf file. //////The source URL.///Conversion options.///Output file path.public static void ConvertEPUB(Url sourceUrl, PdfSaveOptions options, string outputPath); ////// Convert epub source to pdf. Result is pdf file. //////Conversion epub source file path.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath); ////// Convert epub source to pdf. Result is pdf file. //////The source URL.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(Url sourceUrl, Configuration configuration, PdfSaveOptions options, string outputPath); ////// Convert epub source to pdf. Result is pdf file. //////Conversion epub source file path.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to pdf. Result is pdf file. //////The source URL.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(Url sourceUrl, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to pdf. Result is pdf file. //////Conversion epub source file path.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to pdf. Result is pdf file. //////The source URL.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(Url sourceUrl, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to image. Result is image file. //////Conversion epub source file path.///Conversion options.///Output file path.public static void ConvertEPUB(string sourcePath, ImageSaveOptions options, string outputPath); ////// Convert epub source to image. Result is image file. //////The source URL.///Conversion options.///Output file path.public static void ConvertEPUB(Url sourceUrl, ImageSaveOptions options, string outputPath); ////// Convert epub source to image. Result is image file. //////Conversion epub source file path.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath); ////// Convert epub source to image. Result is image file. //////The source URL.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(Url sourceUrl, Configuration configuration, ImageSaveOptions options, string outputPath); ////// Convert epub source to image. Result is image file. //////Conversion epub source file path.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to image. Result is image file. //////The source URL.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(Url sourceUrl, ImageSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to image. Result is image file. //////Conversion epub source file path.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider); ////// Convert epub source to image. Result is image file. //////The source URL.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertEPUB(Url sourceUrl, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to xps. Result is xps file. //////Conversion mhtml source file path.///Conversion options.///Output file path.public static void ConvertMHTML(string sourcePath, XpsSaveOptions options, string outputPath); ////// Convert mhtml source to xps. Result is xps file. //////The source URL.///Conversion options.///Output file path.public static void ConvertMHTML(Url sourceUrl, XpsSaveOptions options, string outputPath); ////// Convert mhtml source to xps. Result is xps file. //////Conversion mhtml source file path.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath); ////// Convert mhtml source to xps. Result is xps file. //////The source URL.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(Url sourceUrl, Configuration configuration, XpsSaveOptions options, string outputPath); ////// Convert mhtml source to xps. Result is xps file. //////Conversion mhtml source file path.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to xps. Result is xps file. //////The source URL.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(Url sourceUrl, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to xps. Result is xps file. //////Conversion mhtml source file path.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to xps. Result is xps file. //////The source URL.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(Url sourceUrl, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to pdf. Result is pdf file. //////Conversion mhtml source file path.///Conversion options.///Output file path.public static void ConvertMHTML(string sourcePath, PdfSaveOptions options, string outputPath); ////// Convert mhtml source to pdf. Result is pdf file. //////The source URL.///Conversion options.///Output file path.public static void ConvertMHTML(Url sourceUrl, PdfSaveOptions options, string outputPath); ////// Convert mhtml source to pdf. Result is pdf file. //////Conversion mhtml source file path.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath); ////// Convert mhtml source to pdf. Result is pdf file. //////The source URL.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(Url sourceUrl, Configuration configuration, PdfSaveOptions options, string outputPath); ////// Convert mhtml source to pdf. Result is pdf file. //////Conversion mhtml source file path.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to pdf. Result is pdf file. //////The source URL.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(Url sourceUrl, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to pdf. Result is pdf file. //////Conversion mhtml source file path.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to pdf. Result is pdf file. //////The source URL.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(Url sourceUrl, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to image. Result is image file. //////Conversion mhtml source file path.///Conversion options.///Output file path.public static void ConvertMHTML(string sourcePath, ImageSaveOptions options, string outputPath); ////// Convert mhtml source to image. Result is image file. //////The source URL.///Conversion options.///Output file path.public static void ConvertMHTML(Url sourceUrl, ImageSaveOptions options, string outputPath); ////// Convert mhtml source to image. Result is image file. //////Conversion mhtml source file path.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath); ////// Convert mhtml source to image. Result is image file. //////The source URL.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(Url sourceUrl, Configuration configuration, ImageSaveOptions options, string outputPath); ////// Convert mhtml source to image. Result is image file. //////Conversion mhtml source file path.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to image. Result is image file. //////The source URL.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(Url sourceUrl, ImageSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to image. Result is image file. //////Conversion mhtml source file path.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider); ////// Convert mhtml source to image. Result is image file. //////The source URL.///The environment configuration.///Conversion options.///Implementation of theinterface, which will be used to get an output stream.public static void ConvertMHTML(Url sourceUrl, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider); } }還想要更多嗎?您可以點擊閱讀【2019 · Aspose最新資源整合】,查找需要的教程資源。如果您有任何疑問或需求,請隨時加入Aspose技術交流群(642018183),我們很高興為您提供查詢和咨詢。
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn