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);