Spire.Presentation 7.9.2 support setting not to convert hidden slides when converting PowerPoint to PDF

2022-09-27 09:24:25

We are happy to announce the release of Spire.Presentation 7.9.2. This version supports setting not to convert hidden slides when converting PowerPoint to PDF and supports finding the first matching text in a slide and modifying its style. Besides, it enhances the conversion from PowerPoint to images. Moreover, some known issues are fixed successfully. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPPT-2037 Supports finding the first matching text in a slide and modifying its style.
Presentation ppt = new Presentation();
            ppt.LoadFromFile(inputFile);
            string text = "create";
            TextRange textRange = ppt.Slides[0].FindFirstTextAsRange(text);
            textRange.Fill.FillType = FillFormatType.Solid;
            textRange.Fill.SolidColor.Color = Color.Red;
            textRange.FontHeight = 28;
            textRange.LatinFont = new TextFont("Times New Roman");
            textRange.IsBold = TriState.True;
            textRange.IsItalic = TriState.True;
            textRange.TextUnderlineType = TextUnderlineType.Double;
            textRange.TextStrikethroughType = TextStrikethroughType.Single;
New feature SPIREPPT-2065 Support setting not to convert hidden slides when converting PPT to PDF.
Presentation presentation = new Presentation();
            presentation.LoadFromFile(input);
            presentation.SaveToPdfOption.ContainHiddenSlides = false;
            presentation.SaveToFile(output, FileFormat.PDF);
Bug SPIREPPT-2034 Fixes the issue that setting font size and color of data label didn't take effect.
Bug SPIREPPT-2051 Fixes the issue that the content was missing when converting PowerPoint to images.
Bug SPIREPPT-2067 Fixes the issue that the application threw System.ArgumentOutOfRangeException when loading PPT.
Click the link to download Spire. Presentation 7.9.2:
More information of Spire.Presentation new release or hotfix: