
Spire.Doc6.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; }
热门格式转换工具在线订购特惠中