Spire.Presentation

Spire.Presentation 3.6.1 adds new features to format charts in PowerPoint

We're pleased to announce that Spire.Presentation 3.6.1 is released today. This version adds a new property "DataLabelShapeType" to set the datalabel shape of a chart, adds another property "MarkFill" to set the fill color and border color of the separate markers in charts, and also fixes several issues occurring when loading and converting PowerPoint files.

New features:

  • Add a new property "DataLabelShapeType" for setting the shape of the chart datalabel in PPT.
  • public DataLabelShapeType DataLabelShapeType { get; set; }
    
  • Add a new property "MarkerFill" for setting the fill color and border color of the separate markers in PPT.
  • ChartDataPoint dp = new ChartDataPoint(chart.Series[0]);
    //set the fill color
    dp.MarkerFill.Fill.FillType = FillFormatType.Solid;
    dp.MarkerFill.Fill.SolidColor.Color = Color.Red;
    //set the border color
    dp.MarkerFill.Line.FillType = FillFormatType.Solid;
    dp.MarkerFill.Line.SolidFillColor.Color = Color.Black;
    

Bug Fixes:

  • Fixes the issue that the conversion from the PowerPoint file which has the same backround image for each slide to PDF would result in a time-consuming process with large size output file.
  • Fixes the issue that the application threw an "Index was out of range" exception when loading a PowerPoint file.
  • Fixes the issue that printing in landscape mode did not make any sense.
  • Fixes the issue that the output file was not correct when converting PPT/PPTX to PDF.
  • Fixes the issue that the chart was in bad format when converting PPT/PPTX to PDF.

Get the most recent version of Spire.Presentation 3.6.1 here:
More information of Spire.Presentation new release or hotfix: