今天我们发布了Spire.Presentation 4.7。该版本支持设置Shape的对齐方式,如左对齐、右对齐、居上、居下,该版本也修复了一些与字体相关的漏洞。具体信息如下。
新功能:
- 支持设置shape的对齐方式。
var shape = ppt.Slides[0].Shapes[0];
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.AlignBottom);
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.AlignLeft);
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.AlignTop);
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.AlignCenter);
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.AlignMiddle);
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.AlignRight);
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.DistributeHorizontally);
shape.SetShapeAlignment(Spire.Presentation.ShapeAlignment.DistributeVertically);
问题修复:
- 修复了无法正确获取文本字体大小和颜色的问题。
- 修复了文本默认字体大小无法获取的问题。
- 修复了插入的幻灯片背景色丢失的问题。
获取Spire.Presentation 4.7,请点击:
https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html