专业的Word控件6.0大版本发布,形状文件和Word XML文档极大改进。

Spire.Doc 6.0 更新
- 对形状文件和Word XML文档进行了很大的改进
新功能
1.DocOleObject,DocPicture和TextBox可以继承ShapeObject。
public class DocOleObject : ShapeObjectpublic class DocPicture : ShapeObject, IPicturepublic 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
热门格式转换工具在线订购特惠中点击查看>>>>

标签:文档管理word文档处理
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!