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