Spire.Presentation 6.12.4 supports adding the setting to convert high quality images

2021-12-24 01:50:11

We are glad to announce the release of Spire.Presentation 6.12.4. This version supports .NET6.0, supports adding the setting to convert high quality images, and supports getting the type and color of slide background. It also enhences the conversion from PowerPoint to PDF, PowerPoint to image. In addition, it fixes some known issues such as the obtained display color of table cell text was incorrect. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPPT-1699 Supports getting the type and color of slide background.
ISlide sld = ppt.Slides[0] as ISlide;
FillFormat bg = sld.DisplaySlideBackground.GetBackgroundFillFormat(sld as ActiveSlide);
switch (bg.FillType)
{
    case FillFormatType.Solid:
        sb.AppendLine("type:" + bg.FillType + "\tcolor:" + bg.SolidColor.Color);
        break;
    case FillFormatType.Gradient:
        sb.AppendLine("type:" + bg.FillType);
        foreach (GradientStop stop in bg.Gradient.GradientStops)
        {
            sb.AppendLine("position:" + stop.Position + "\tcolor:" + stop.Color.Color);
        }
        break;
    default:
        sb.AppendLine("type:" + bg.FillType);
        break;
}
New feature SPIREPPT-1766 Supports adding the setting to convert high quality images.
Presentation.HighQualityImage = true;
Bug SPIREPPT-1748 Optimized the memory consumption when operating PowerPoint file image.
Bug SPIREPPT-1752 Fixes the issue that the application threw "System.NullReferenceException" when getting audio data.
Bug SPIREPPT-1753 Fixes the issue that the grid line color obtained was incorrect.
Bug SPIREPPT-1756 Fixes the issue that the "Duration" time obtained was incorrect.
Bug SPIREPPT-1757 Fixes the issue that the obtained display color of table cell was incorrect.
Bug SPIREPPT-1758 Fixes the issue that the color of math equation was lost after saving slide as image.
Bug SPIREPPT-1759 Fixes the issue that the content was incorrect after saving SmartArt to image.
Bug SPIREPPT-1764 Fixes the issue that the application threw "System.IndexOutOfRangeException" when saving shape to image.
Bug SPIREPPT-1768 Fixes the issue that the returned value of "HasBullet" was wrong .
Bug SPIREPPT-1770 Fixes the issue that the math equation lost after converting PowerPoint to PDF.
Bug SPIREPPT-1771 Fixes the issue that the application threw "System.NullReferenceException" when encrypting a PowerPoint file that contains math equations.
Bug SPIREPPT-1772 Fixes the issue that the obtained display color of table cell text was incorrect.
Bug SPIREPPT-1775 Fixes the issue that the obtained value of "VerticalTextType" was incorrect.
Bug SPIREPPT-1783 Fixes the issue that some content was not clear after saving PowerPoint to image.
Bug SPIREPPT-1785 Fixes the issue that the comments weren't able to obtained.
Bug SPIREPPT-1796 Fixes the issue that the leader lines of Datalabel were incorrect when converting PowerPoint to PDF.
Bug SPIREPPT-1800 Fixes the issue that the obtained PresetClassType value of animation was incorrect.
Bug SPIREPPT-1801 Fixes the issue that the color of chart trend line was lost after saving PowerPoint to PDF.
Click the link below to download Spire.Presentation 6.12.4
More information of Spire.Presentation new release or hotfix: