您的位置:首页 > 其它

【更新】Word控件 Spire.Doc 6.0大版本发布 | 形状文件和Word XML文档极大改进

2017-07-14 11:49 661 查看



Spire.Doc 6.0 更新

对形状文件和Word XML文档进行了很大的改进


新功能

1.DocOleObject,DocPicture和TextBox可以继承ShapeObject。
public class DocOleObject : ShapeObject
public class DocPicture : ShapeObject, IPicture
public class TextBox : ShapeObject, ITextBox


2.DocOleObject实现了接口IDocOleObject。

3.表
在设置Table或TableCell的宽度时,需要同时设置Width和WidthType
方法表.AutoFitBehavior()更改为方法table.AutoFit();

4.调整枚举TextDirection中的值。
在以前的版本中,它意味着文本方向,但现在它意味着行方向,例如,当您设置TopToBottom 时,这意味着逐行写入(换句话说,从上到下),TopToBottom方向是默认值。
//Summary:
//Specifies that text in the parent object shall flow from left to right horizontally,
//then top to bottom vertically on the page.  This means that horizontal lines
//are filled before the text expands vertically.
TopToBottom = 0;


5.发布PropertyObject.CharacterFormat属性。

6.背景
public class BackgroundGradient : VMLFill

public BackgroundGradient Gradient { get; }

BackgroundGradient的继承关系从DocumentSerializable更改为VMLFill。
取消Background.Gradient的“set”属性。
取消BackgroundGradient的构造函数。

7.取消TextBox格式的“set”属性。
public TextBoxFormat Format { get; }


点击下载Spire.Doc 6.0
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: