Spire. Presentation 5.9.5

Spire. Presentation 5.9.5 supports ungrouping the grouped shapes

We are happy to announce the release of Spire. Presentation 5.9.5. This version supports ungrouping the grouped shapes and adds” GetPlaceholderShapes” method to get the shapes of layout slide by placeholder as well as the GroupShapes method to return GroupShape object.

Meanwhile, some issues occurred in the process of loading and converting PPTX files and cloning slides are successfully solved. More details are given below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPPT-1293 Supports ungrouping the grouped shapes.
GroupShape groupShape = presentation.Slides[0].Shapes[0] as GroupShape;
presentation.Slides[0].Ungroup(groupShape);
New Feature SPIREPPT-1298 Adds "GetPlaceholderShapes" method to get the shapes of layout slide by placeholder.
Placeholder placeholder = presentation.Slides[1].Shapes[0].Placeholder;
IShape[] shapes = presentation.Slides[1].GetPlaceholderShapes(placeholder);
for (int i = 0; i < shapes.Length; i++)
{
        if (shapes[i] is IAutoShape)
        {
            IAutoShape autoShape = shapes[i] as IAutoShape;
            if (autoShape.TextFrame != null)
            {
                Console.WriteLine(autoShape.TextFrame.Text);
            }
        }
} 
New Feature SPIREPPT-1299 Supports the GroupShapes method to return GroupShape object.
ArrayList groupShapeList = new ArrayList();
groupShapeList.Add(shape1);
groupShapeList.Add(shape2);
groupShapeList.Add(shape3);
GroupShape groupshape = ppt.Slides[0].GroupShapes(groupShapeList);
Bug SPIREPPT-1294 Fixes the issue that the application threw "DocumentEditException" when cloning a slide to another file.
Bug SPIREPPT-1301 Fixes the issue that a shape was missing after grouping the shapes.
Bug SPIREPPT-1305 Fixes the issue that the application threw "NullReferenceException" when converting PPTX to HTML.
Bug SPIREPPT-1306 Fixes the issue that the application threw "IndexOutOfRangeException" when loading the PPTX file.
Bug SPIREPPT-1307 Fixes the issue that it caused incorrect chart content after converting PPTX to PDF.
Bug SPIREPPT-1308 Fixes the issue that the application threw the error “Encrypted presentations are not supported” when loading a protected PPT file.
Click the link below to download Spire.Presentation 5.9.5:
More information of Spire.Presentation new release or hotfix: