Aspose.Words for .NET(欢迎下载)是用于执行各类文档管理和操做任务,支持生成,修改,转换,呈现和打印文档,而无需在跨平台应用程序中直接使用Microsoft Word。同时支持全部流行的Word处理文件格式,并容许将Word文档导出或转换为固定布局文件格式和最经常使用的图像、多媒体格式。布局
Aspose.Words for .Net更新至新版本v19.10,支持动态插入指向LINQ Reporting Engine的文档书签的连接,容许指定文本在文档中流动的方向,修复多项Bug,咱们一块儿来看一看新功能详解吧!spa
▲实现了DocumentDirection选项,该选项容许指定文本在文档中流动的方向orm
添加了新的公开枚举:对象
////// Allows to specify the direction to flow the text in a document. ///public enum DocumentDirection
在TxtLoadOptions类中添加了新的公共选项:ci
////// Gets or sets a document direction. /// The default value is. ///public DocumentDirection DocumentDirection
用例:文档
TxtLoadOptions loadOptions = new TxtLoadOptions(); loadOptions.DocumentDirection = DocumentDirection.Auto; Document doc = new Document("SomeRtlText.txt", loadOptions); Paragraph paragraph = doc.FirstSection.Body.FirstParagraph; Console.WriteLine(paragraph.ParagraphFormat.Bidi);