Aspose.Words 15.5.0 已于近期发布。本月更新有将近87 项,包括新增功能 ,功能提升和功能修复。
以下为Aspose.Words下载链接:
Aspose.Words 15.5.0主要更新内容如下:
- 删除了CustomXML节点;
- 支持有条件的块添加到LINQ报告引擎;
- 改进了复合图表中悬浮图形的渲染;
- 布局上实现阿拉伯Abjad编号列表;
- 改进了使用复杂的CSS选择器导入HTML文档的性能;
- 改进了HTML输出文档中悬浮图形的定位;
- 文件现在可以呈现为灰度模式;
- 改进了PDF镶嵌字体的远东字体渲染;
- 极大改善了使用DrawingML文本效果渲染PDF文档时所需的时间和大小。
新增公共属性PageSetup.TextOrientation
PageSetup 类新增公共属性TextOrientation:
/// /// Allows to specify for the whole page. /// Default value is /// public TextOrientation TextOrientation
该属性使得在整个页面确认TextOrientation成为可能。默认值为Horizontal。目前只有MS Word的原生格式如DOCX, WML, RTF和DOC.支持该属性。
新增公共属性SaveOptions.ColorMode
SaveOptions类新添加公共属性ColorMode。 当渲染用以修复页面格式如 PDF, XPS和图片时,文档可以渲染成两种色彩模式。
- ColorMode.Normal – an ordinary way with unmodified colors and
- ColorMode.Grayscale – with colors in a range of gray shades from white to black.
/// /// Gets or sets a value determining how colors are rendered. /// /// The default value is /// This property is used when the document is exported to fixed page formats. /// public ColorMode ColorMode { get; set; }
示例代码如下:
Document doc = new Document(MyDir + "in.docx"); PdfSaveOptions options = new PdfSaveOptions; // Save the document "doc" in grayscale mode PDF. options.ColorMode = ColorMode.Grayscale; doc.Save(MyDir + "out.pdf", options);
支持LINQ 条件块报表引擎
下列文档详细描述了条件块的新功能:
本站文章除注明转载外,均为本站原创或翻译
本文暂时没有评论,来添加一个吧(●'◡'●)