原創(chuàng)|產(chǎn)品更新|編輯:龔雪|2015-06-17 09:44:30.000|閱讀 283 次
概述:Aspose.Words 15.5.0 已于近期發(fā)布。本月更新有將近87 項(xiàng),包括新增功能 ,功能提升和功能修復(fù)。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Aspose.Words 15.5.0 已于近期發(fā)布。本月更新有將近87 項(xiàng),包括新增功能 ,功能提升和功能修復(fù)。
以下為Aspose.Words下載鏈接:
PageSetup 類新增公共屬性TextOrientation:
/// <summary> /// Allows to specify <see cref="TextOrientation"/> for the whole page. /// Default value is <see cref="Aspose.Words.TextOrientation.Horizontal"/> /// </summary> public TextOrientation TextOrientation
該屬性使得在整個(gè)頁面確認(rèn)TextOrientation成為可能。默認(rèn)值為Horizontal。目前只有MS Word的原生格式如DOCX, WML, RTF和DOC.支持該屬性。
SaveOptions類新添加公共屬性ColorMode。 當(dāng)渲染用以修復(fù)頁面格式如 PDF, XPS和圖片時(shí),文檔可以渲染成兩種色彩模式。
/// /// 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);
下列文檔詳細(xì)描述了條件塊的新功能:
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn