没有找到合适的产品?
联系客服协助选型:023-68661681
提供3000多款全球软件/控件产品
针对软件研发的各个阶段提供专业培训与技术咨询
根据客户需求提供定制化的软件开发服务
全球知名设计软件,显著提升设计质量
打造以经营为中心,实现生产过程透明化管理
帮助企业合理产能分配,提高资源利用率
快速打造数字化生产线,实现全流程追溯
生产过程精准追溯,满足企业合规要求
以六西格玛为理论基础,实现产品质量全数字化管理
通过大屏电子看板,实现车间透明化管理
对设备进行全生命周期管理,提高设备综合利用率
实现设备数据的实时采集与监控
利用数字化技术提升油气勘探的效率和成功率
钻井计划优化、实时监控和风险评估
提供业务洞察与决策支持实现数据驱动决策
原创|行业资讯|编辑:李显亮|2021-04-06 09:55:41.140|阅读 247 次
概述:Aspose.Words for .Net更新至新版本v21.4,此常规的每月版本中有95项改进和修复,包括添加了删除未使用的内置样式的功能、扩展了结构化文档标签范围的公共API等新功能,欢迎下载体验。
# 界面/图表报表/文档/IDE等千款热门软控件火热销售中 >>
Aspose.Words for .Net是一种高级Word文档处理API,用于执行各种文档管理和操作任务。API支持生成,修改,转换,呈现和打印文档,而无需在跨平台应用程序中直接使用Microsoft Word。2021年4月更新来啦,.NET版Aspose.Words更新至v21.4新版本!
主要特点如下:
>>你可以点击这里下载Aspose.Words for .NET v21.4测试体验。
| 关键序号 | 概括 | 类别 |
| WORDSNET-21246 | 在StructuredDocumentTagRangeStart类中提供更多属性/方法 | 新功能 |
| WORDSNET-21991 | 在SkiaSharp图像渲染器中支持高级排版 | 新功能 |
| WORDSNET-5643 | 在保存为流格式时,考虑提供一种保存用户指定页面范围的方法 | 增强功能 |
| WORDSNET-20580 | 改进HTML列表编写器中的列表项填充模拟 | 增强功能 |
| WORDSNET-21597 | 为DML形状添加“ IsDecorative”标志 | 增强功能 |
| WORDSNET-3449 | 改善对大文件的支持 | 增强功能 |
完整更新细则请参考:【Aspose.Words for .NET v21.4更新说明】
使用GDI +或SkiaSharp保存到图像时(即在所有.NET平台和.NET Standard上),现在支持高级字体。用例:使用高级排版功能将文档保存到图像。
Document doc = new Document("input.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save("output.png");
将以下新的公共方法添加到Fill类中:
用例:说明如何将填充更改为实体。
// Open some document with text effects.
Document doc = new Document("TextTwoColorGradient.docx");
// Get Fill object for Font of the first Run.
Fill fill = doc.FirstSection.Body.FirstParagraph.Runs[0].Font.Fill;
// Check Fill properties of the Font.
Console.WriteLine("The type of the fill is: {0}", fill.FillType);
Console.WriteLine("The foreground color of the fill is: {0}", fill.ForeColor);
Console.WriteLine("The fill is transparent at {0}%", fill.Transparency * 100);
// Change type of the fill to Solid with uniform green color.
fill.Solid(Color.Green);
Console.WriteLine("\nThe fill is changed:");
Console.WriteLine("The type of the fill is: {0}", fill.FillType);
Console.WriteLine("The foreground color of the fill is: {0}", fill.ForeColor);
Console.WriteLine("The fill transparency is {0}%", fill.Transparency * 100);
doc.Save("TextSolidOut.docx");
/*
This code example produces the following results:
The type of the fill is: Gradient
The foreground color of the fill is: Color [A=255, R=0, G=128, B=128]
The fill is transparent at 65%
The fill is changed:
The type of the fill is: Solid
The foreground color of the fill is: Color [A=255, R=0, G=128, B=0]
The fill transparency is 0%
*/
StructuredDocumentTagRangeStart和StructuredDocumentTagRangeEnd类的构造函数已公开。现在可以手动创建这些类的实例。
用例:
Document doc = new Document("input.docx");
StructuredDocumentTagRangeStart start = new StructuredDocumentTagRangeStart(doc, SdtType.RepeatingSectionItem);
StructuredDocumentTagRangeEnd end = new StructuredDocumentTagRangeEnd(doc, start.Id);
doc.FirstSection.Body.InsertAfter(start, doc.FirstSection.Body.FirstParagraph);
doc.LastSection.Body.InsertBefore(end, doc.LastSection.Body.LastParagraph);
doc.Save("output.docx");
IEnumerable interface is implemented in StructuredDocumentTagRangeStart class for full LINQ support (i.e. Last(), LastOrDefault() and other methods).
Document doc = new Document("input.docx");
StructuredDocumentTagRangeStart start = (StructuredDocumentTagRangeStart)doc.FirstSection.Body.GetChild(NodeType.StructuredDocumentTagRangeStart, 0, false);
Console.WriteLine(start.LastOrDefault().GetText());
如果你想试用Aspose的全部完整功能,可 联系在线客服获取30天临时授权体验。
本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@ke049m.cn




Tech Soft 3D 正式整合旗下 SDK 工具包,构建以数据、图形、仿真和建模为核心的 HOOPS 产品体系
在当今的数据驱动时代,Python 开发者经常需要将列表(一种基本的 Python 数据结构)转换为 Excel 电子表格。Excel 作为各行业通用的数据展示、报告生成与信息共享工具,无论是生成业务报告、准备分析数据,还是与非技术人员协作,掌握将 Python 列表导出为 Excel 的高效方法都至关重要。
本篇教程,我们将学习如何使用Aspose.CAD for Python via .NET将 SVG 转换为PNG 。这款 3D CAD SDK 有助于实现单个文件和多个文件格式转换的自动化。我们将编写一个完整的代码示例,以演示Aspose.CAD for Python via .NET的可用性和效率。
在制造业数字化项目中,让数据流动起来,往往比让设备动起来还难。
服务电话
重庆/ 023-68661681
华东/ 13452821722
华南/ 18100878085
华北/ 17347785263
客户支持
技术支持咨询服务
服务热线:400-700-1020
邮箱:sales@ke049m.cn
关注我们
地址 : 重庆市九龙坡区火炬大道69号6幢
半岛外围网上直营