Spire.Presentation 7.5.3 adds a method of getting text content of a slide

2022-05-27 10:18:01

We are excited to announce the release of Spire.Presentation 7.5.3. This version adds a method called GetAllTextFrame to get text content of a slide. In addition, it fixes some known issues such as the position of the text in the text box is incorrect when converting PowerPoint to PDF. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIRE.PPT-1933 Adds a method of getting text content of a slide,slide.GetAllTextFrame()
Presentation ppt = new Presentation();
        ppt.LoadFromFile(inputFile);
foreach (ISlide slide in ppt.Slides)
{
    ArrayList arrayList = slide.GetAllTextFrame();
    foreach (String text in arrayList)
    {
        Console.Write(text);
     }
}
Note: don't include the text in chartor image.
New feature SPIRE.PPT-1948 Supports setting the ChartDataLabel with text ranges.
Bug SPIRE.PPT-1907 Fixes the issue that the position of the text in the text box is incorrect when converting PPT to PDF
Bug SPIRE.PPT-1932 Fixes the issue that the application threw System.NullReferenceException when getting the chart's hidden source data.
Bug SPIRE.PPT-1953 Fixes the issue that the font size of the original text is changed after the axis label is reset.
Click the link to download Spire. Presentation 7.5.3
More information of Spire.Presentation new release or hotfix: