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

图片1

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

 

 

转载于:https://my.oschina.net/u/3006003/blog/1377320

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值