News & Releases
|
Spire.Presentation 6.4.5 supports adding Video media from stream
We are excited to announce the release of Spire.Presentation 6.4.5.This version supports adding Video media from stream as well as adding customized path animation. Moreover, it also enhances the conversion from PPT to images and fixes the issue occurred in the process of loading PPT files. More details are listed below.
Here is a list of changes made in this release
Category | ID | Description |
New feature | SPIREPPT-1469 | Supports adding Video media from stream.
AppendVideoMedia(Stream stream, RectangleF rectangle); |
New feature | SPIREPPT-1519 | Supports adding customized path animation.
Presentation ppt = new Presentation(); IAutoShape shape = ppt.Slides[0].Shapes.AppendShape(ShapeType.Rectangle, new RectangleF(0, 0, 200, 200)); AnimationEffect effect = ppt.Slides[0].Timeline.MainSequence. AddEffect(shape, AnimationEffectType.PathUser); CommonBehaviorCollection common = effect.CommonBehaviorCollection; AnimationMotion motion = (AnimationMotion)common[0]; motion.Origin = AnimationMotionOrigin.Layout; motion.PathEditMode = AnimationMotionPathEditMode.Relative; MotionPath moinPath = new MotionPath(); moinPath.Add(MotionCommandPathType.MoveTo, new PointF[] { new PointF(0, 0) }, MotionPathPointsType.CurveAuto, true); moinPath.Add(MotionCommandPathType.LineTo, new PointF[] { new PointF(0.1f, 0.1f) }, MotionPathPointsType.CurveAuto, true); moinPath.Add(MotionCommandPathType.LineTo, new PointF[] { new PointF(-0.1f, 0.2f) }, MotionPathPointsType.CurveAuto, true); moinPath.Add(MotionCommandPathType.End, new PointF[] { }, MotionPathPointsType.CurveStraight, true); motion.Path = moinPath; ppt.SaveToFile(outputFile, FileFormat.Pptx2010); ppt.Dispose(); |
Bug | SPIREPPT-1471 | Fixes the issue that the shadow effect was incorrect after converting PPTX to images. |
Bug | SPIREPPT-1501 | Fixes the issue that it failed to set the correct duration of the animation. |
Bug | SPIREPPT-1517 | Fixes the issue that the content was incorrect after converting PPTX to images. |
Bug | SPIREPPT-1532 | Fixes the issue that the application threw the error "System.NullReferenceException" when loading PPTX files. |
Bug | SPIREPPT-1537 | Fixes the issue that the application threw the error "System.IndexOutOfRangeException" when loading PPT files |
Click the link below to download Spire.Presentation 6.4.5
More information of Spire.Presentation new release or hotfix: