Spire.Presentation 4.9.5

Spire.Presentation 4.9.5 supports saving individual slides to PDF, XPS, etc.

We're pleased to announce the release of Spire.Presentation 4.9.5. This update brings several new features, such as supporting to set the size and style of datapoint marker in charts, supporting to delete Marcos in PowerPoint 2003 files, and supporting to save invidual slides to other file formats. It also inculdes a number of fixes to the issues that occurred when loading and converting PowerPoint documents. More details are as follows.

New Features:

  • Supports setting the size and style of datapoint marker.
  • Presentation ppt = new Presentation();
    ppt.LoadFromFile(file);
    IChart chart = ppt.Slides[0].Shapes[0] as IChart;
    ChartDataPoint dp = new ChartDataPoint(Chart.Series[0]);
    dp.Index =0;
    //Set size of chart marker datapoint
    dp.MarkerSize = 20;
    //Set style of chart marker datapoint
    dp.MakerStyle = ChartMarkerType.Star;
    chart.Series[0].DataPoints.Add(dp);
    ppt.SaveToFile(result,FileFormat.Pptx2013);
    
  • Supports deleting Macros in PowerPoint 2003 documents.
  • ppt.DeleteMacros();
    
  • Supports setting rotation angle for chart data lable.
  • IChart chart = (IChart)ppt.Slides[0].Shapes[0];
    ChartDataLabel datalabel = chart.Series[0].DataLabels.Add();
    datalabel.ID = 0;
    datalabel.RotationAngle = 45;
    
  • Supports adjusting the position of slide.
  • ppt.Slides.Move(NewIndex, OldIndex)
    
  • Supports saving an individual slide to PDF, XPS and other formats.
  • ppt.Slides[0].SaveToFile("result.xps", FileFormat.XPS);
    

Bug Fixes:

  • Fixes the issue that extra characters appeared after converting PPT(X) to image.
  • Fixed the issue that using our Spire to embed audio media in PPTX file, the audio didn't play after using Microsoft PowerPoint to export the generated PPTX to video.
  • Fixes the issue that the bottom border of table lost after saving PPT(X) file.
  • Fixes the issue that the duration of animation effect didn't take effect after adding FlashBulb type animation.
  • Fixes the issue that caused wrong content format after converting PPT(X) to HTML.
  • Fixes the issue that the application threw the exception "The format of input string was incorrect" when loading PPT(X) file.
  • Fixes the issue that tha application threw the exception "Property not found" when loading PPT(X) file.
  • Fixes the issue that caused wrong content after saving image from smartart.
  • Fixes the issue that the generated PPT file prompted an information "PowerPoint Found a problem with content..." when opening.
  • Fixes the issue that after copying table to slides twice, the generated PPT(X) could not be opened successfully.
  • Fixes the issue that the application threw the exception "Index was out of array bounds" when opening PPT(X) file.

Click the link below to download Spire.Presentation 4.9.5:
More information of Spire.Presentation new release or hotfix: