提供3000多款全球软件/控件产品
针对软件研发的各个阶段提供专业培训与技术咨询
根据客户需求提供定制化的软件开发服务
全球知名设计软件,显著提升设计质量
打造以经营为中心,实现生产过程透明化管理
帮助企业合理产能分配,提高资源利用率
快速打造数字化生产线,实现全流程追溯
生产过程精准追溯,满足企业合规要求
以六西格玛为理论基础,实现产品质量全数字化管理
通过大屏电子看板,实现车间透明化管理
对设备进行全生命周期管理,提高设备综合利用率
实现设备数据的实时采集与监控
利用数字化技术提升油气勘探的效率和成功率
钻井计划优化、实时监控和风险评估
提供业务洞察与决策支持实现数据驱动决策
翻译|产品更新|编辑:李显亮|2019-06-18 14:22:13.223|阅读 212 次
概述:Aspose.HTML for .NET更新至v19.6,引入了一个新的Markdown转换功能,它是一种易于阅读,易于编写的纯文本格式,可以转换为HTML文档。
# 慧都年终大促·界面/图表报表/文档/IDE等千款热门软控件火热促销中 >>
Aspose.HTML for .NET是一种高级HTML操作API,用于在.NET应用程序中创建和操作HTML文档。开发人员可以插入,删除,替换HTML节点,提取CSS样式,通过NodeIterator,遍历规范提供的TreeWalker,XPath或CSS选择器查询来浏览HTML文档。
Aspose.HTML for .NET更新至v19.6,引入了一个新的Markdown转换功能,它是一种易于阅读,易于编写的纯文本格式,可以转换为HTML文档。>>免费下载最新版Aspose.HTML for .NET
key | 概述 | 类别 |
---|---|---|
HTMLNET-1854 | 实现Markdown到HTML转换器 | 新功能 |
HTMLNET-1931 | 加载MHTML文件出错 | Bug修复 |
HTMLNET-1932 | PDF格式中缺少该表 | Bug修复 |
HTMLNET-1810 | HTML到PDF - 图像无法渲染 | Bug修复 |
HTMLNET-1920 | 加载MHT文件时应用程序出错 | Bug修复 |
使用Markdown文件创建HTML文档的方法扩展了Converter对象。
namespace Aspose.Html.Converters { public static class Converter { ////// Convert Markdown source to html. Result is. //////Conversion source.///The base URI of the document.///Conversion result.public static HTMLDocument ConvertMarkdown(Stream stream, string baseUri) {} ////// Convert Markdown source to html. Result is. //////Conversion source.///The base URI of the document.///The environment configuration.///Conversion result.public static HTMLDocument ConvertMarkdown(Stream stream, string baseUri, Configuration configuration) {} ////// Convert Markdown source to html. Result is html file. //////Conversion source.///The base URI of the document.///Output file path.public static void ConvertMarkdown(Stream stream, string baseUri, string outputPath) {} ////// Convert Markdown source to html. Result is html file. //////Conversion source.///The base URI of the document.///The environment configuration.///Output file path.public static void ConvertMarkdown(Stream stream, string baseUri, Configuration configuration, string outputPath) {} ////// Convert Markdown source to html. Result is. //////Path to source Markdown file.///Conversion result.public static HTMLDocument ConvertMarkdown(string sourcePath) {} ////// Convert Markdown source to html. Result is. //////Path to source Markdown file.///The environment configuration.///Conversion result.public static HTMLDocument ConvertMarkdown(string sourcePath, Configuration configuration) {} ////// Convert Markdown source to html. Result is html file. //////Path to source Markdown file.///Output file path.public static void ConvertMarkdown(string sourcePath, string outputPath) {} ////// Convert Markdown source to html. Result is html file. //////Path to source Markdown file.///The environment configuration.///Output file path.public static void ConvertMarkdown(string sourcePath, Configuration configuration, string outputPath) {} } }
添加了ConvertEPUB()和ConvertMHTML()的重写方法,以添加设置用户配置的功能。
namespace Aspose.Html.Converters { public static class Converter { ////// Convert epub source to xps. Result is xps file. //////Conversion source.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(Stream stream, Configuration configuration, XpsSaveOptions options, string outputPath) {} ////// Convert epub source to xps. Result is xps file. //////Conversion source.///The environment configuration.///Conversion options.///implementation.public static void ConvertEPUB(Stream stream, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider) {} ////// Convert epub source to pdf. Result is pdf file. //////Conversion source.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(Stream stream, Configuration configuration, PdfSaveOptions options, string outputPath) {} ////// Convert epub source to pdf. Result is pdf file. //////Conversion source.///The environment configuration.///Conversion options.///implementation.public static void ConvertEPUB(Stream stream, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider) {} ////// Convert epub source to image. Result is image file. //////Conversion source.///The environment configuration.///Conversion options.///Output file path.public static void ConvertEPUB(Stream stream, Configuration configuration, ImageSaveOptions options, string outputPath) {} ////// Convert epub source to image. Result is image file. //////Conversion source.///The environment configuration.///Conversion options.///implementation.public static void ConvertEPUB(Stream stream, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider) {} ////// Convert mhtml source to xps. Result is xps file. //////Conversion source.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(Stream stream, Configuration configuration, XpsSaveOptions options, string outputPath) {} ////// Convert mhtml source to xps. Result is xps file. //////Conversion source.///The environment configuration.///Conversion options.///implementation.public static void ConvertMHTML(Stream stream, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider) {} ////// Convert mhtml source to pdf. Result is pdf file. //////Conversion source.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(Stream stream, Configuration configuration, PdfSaveOptions options, string outputPath) {} ////// Convert mhtml source to pdf. Result is pdf file. //////Conversion source.///The environment configuration.///Conversion options.///implementation.public static void ConvertMHTML(Stream stream, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider) {} ////// Convert mhtml source to image. Result is image file. //////Conversion source.///The environment configuration.///Conversion options.///Output file path.public static void ConvertMHTML(Stream stream, Configuration configuration, ImageSaveOptions options, string outputPath) {} ////// Convert mhtml source to image. Result is image file. //////Conversion source.///The environment configuration.///Conversion options.///implementation.public static void ConvertMHTML(Stream stream, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider) {} } }
慧都20万+用户答谢惠,ASPOSE系列产品火热促销中,最高直降8万元!>>立即进入优惠专场
ASPOSE技术交流QQ群现已开通,各类资源及时分享,欢迎交流讨论!(扫描下方二维码加入群聊)
本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@pclwef.cn
知名C/C++开发工具CLion全新发布v2024.3,新版本新语言引擎有显著改进等,欢迎下载新版体验!
强大的VS插件CodeRush已正式发布v24.2.3,新版本现在可以运行xUnit.Net v3测试等,欢迎下载最新版体验!
Spire.PDF 10.12.4 最新版本支持在进行多页打印时设置自动旋转方向。同时,一些已知问题也在本次更新中被成功修复,例如打印 PDF 文档时内容丢失的问题,欢迎下载体验~
日程安排控件dhtmlxScheduler v7.2全新发布,新版本增强并增加了编辑、修改等多个操作体验,欢迎下载最新版试用~
服务电话
重庆/ 023-68661681
华东/ 13452821722
华南/ 18100878085
华北/ 17347785263
客户支持
技术支持咨询服务
服务热线:400-700-1020
邮箱:sales@pclwef.cn
关注我们
地址 : 重庆市九龙坡区火炬大道69号6幢