News & Releases
|
Spire.Presentation 5.8.5 adds "Insert" and "Append" new methods to add section
We're glad to announce the release of Spire.Presentation 5.8.5. This version adds "Insert" and "Append" new methods to add section, and it also supports adding/ moving/ removing slides for the section, getting the index of the section as well as removing sections. Besides, some issues that occurred when converting PPT to PDF, loading and manipulating files are successfully fixed. See the content below for more details.
Here is a list of changes made in this release
Category | ID | Description |
New Feature | SPIREPPT-1253 | Adds "Insert" and "Append" new methods to add section.
Section sect01 = ppt.SectionList.Insert(0, "section1"); Section sect02 = ppt.SectionList.Append("section2"); |
New Feature | SPIREPPT-1253 | Supports adding slides to the section, moving and removing slides in the section.
ISlide slide01 = ppt.Slides.Append(); ISlide slide02 = ppt.Slides.Append(); Section section01 = ppt.SectionList.Add("section1", slide01); Section section02 = ppt.SectionList.Insert(1, "section2"); Section section03 = ppt.SectionList.Append("section3"); //Add slides ISlide slide03 = ppt.SectionList.InsertSlide(section02, 0, slide01); ISlide slide04 = section02.Insert(1, slide02); section02.AddRange(new ISlide[] { slide03, slide04 }); //Move slides ppt.SectionList.MoveSlide(section03, 0, slide03); section03.Move(1, slide04); //Remove slides ppt.SectionList.RemoveSlide(section03, 0); section01.RemoveAt(0); section02.RemoveRange(0, 3); section03.Remove(slide04); |
New Feature | SPIREPPT-1254 | Supports getting the index of the section.
int index1 = ppt.SectionList.IndexOf(section01); int index2 = section02.Index; |
New Feature | SPIREPPT-1288 | Supports removing sections from PPT files.
ppt.SectionList.RemoveAt(1); ppt.SectionList.RemoveAll(); |
Bug | SPIREPPT-1251 | Fixes the issue that the application threw "NullReferenceException" when loading the file. |
Bug | SPIREPPT-1256 SPIREPPT-1271 |
Fixes the issue that add sections to PPT file failed. |
Bug | SPIREPPT-1267 | Fixes the issue that the content was missing after converting PPT to PDF. |
Bug | SPIREPPT-1272 | Fixes the issue that an error prompted when opening the result file after setting the properties for the .potm file. |
Bug | SPIREPPT-1274 | Fixes the issue that the application threw "NullReferenceException" when setting the style of outline lines for newly added SmartArt nodes. |
Bug | SPIREPPT-1276 | Fixes the issue that an error prompted when opening the result file after modifying the chart data of the PPT file. |
Click the link to download Spire.Presentation 5.8.5:
More information of Spire.Presentation new release or hotfix: