Spire.Presentation 6.9.2

Spire.Presentation 6.9.2 supports hiding audio clip icons during slide shows

We are glad to announce the release of Spire.Presentation 6.9.2. This version supports hiding audio clip icons during slide shows, supports converting PPT to OFD, as well as supports adding math equations and checking whether the shape contains math equations and so on. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPPT-1439 Supports adding math equations and checking whether shape contains math equations.
Presentation ppt = new Presentation();
string latexMathCode = @"x^{2}+\sqrt{x^{2}+1}=2";
IAutoShape shape = ppt.Slides[0].Shapes.AppendShape(ShapeType.Rectangle, new RectangleF(30, 100, 400, 30));
shape.TextFrame.Paragraphs.Clear();

//Add math equation
TextParagraph tp = shape.TextFrame.Paragraphs.AddParagraphFromLatexMathCode(latexMathCode);

for (int i = 0; i < ppt.Slides[0].Shapes.Count; i++)
{

    if (ppt.Slides[0].Shapes[i] is IAutoShape)
    {
        //Check whether shape contains math equations
        bool containMathEquation = (ppt.Slides[0].Shapes[i] as IAutoShape).ContainMathEquation;
    }
}
ppt.SaveToFile("result.pptx", FileFormat.Pptx2013);
ppt.Dispose();
New feature SPIREPPT-1660 Supports hiding audio clip icons during the slide shows.
Presentation ppt = new Presentation();
ppt.LoadFromFile(inputFile);
foreach(Shape shape in ppt.Slides[0].Shapes)
{
    if(shape is IAudio)
    {
        IAudio audio = shape as IAudio;
        audio.HideAtShowing = true;
    }
}
New feature SPIREPPT-1662 Supports converting PPT to OFD.
Presentation ppt = new Presentation();
ppt.LoadFromFile(inputFile);
ppt.SaveToFile(ofdFile, FileFormat.OFD);
New feature SPIREPPT-1674 Supports checking whether the PPT file is encrypted.
Presentation ppt = new Presentation();
ppt.IsPasswordProtected(inputFile)
Bug SPIREPPT-1657 Fixes the issue that the trendline label was not initialized after adding trendlines to the chart.
Bug SPIREPPT-1658 Fixes the issue that it did not highlight the matched text.
Bug SPIREPPT-1661 Fixes the issue that the hyperlink was missing after converting PPT to PDF.
Bug SPIREPPT-1665 Fixes the issue that the existing video could not be played after adding audio to the PPT file.
Bug SPIREPPT-1671 Fixes the issue that setting the slice angle for doughnut chart did not take effect.
Bug SPIREPPT-1673 Fixes the issue that the application threw the error "DocumentReadException" when loading an encrypted PPT file.
Click the link below to download Spire.Presentation 6.9.2:
More information of Spire.Presentation new release or hotfix: