Aspose.Slides for .NET 21.12 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-42825LowCode API that provides a simple interface for common operationsFeature
SLIDESNET-37300Charts callout failed to render in exported PDFFeaturehttps://docs.aspose.com/slides/net/chart-data-label/
SLIDESNET-42929Loading PPT file throws NullPointerExceptionBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-42928Loading PPT file throws ArrayIndexOutOfBoundsExceptionBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-42905Shape.Adjustments.AngleValue set generates corrupted PPTX file if all values are not setBughttps://docs.aspose.com/slides/net/powerpoint-shapes/
SLIDESNET-42902Saving PPTX as PDF loses graphic objectBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-42893Text color is changed when converting PPT to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-42885“Shrink text on overflow” option works differently for identical shapesBughttps://docs.aspose.com/slides/net/manage-text/
SLIDESNET-42875PPTM file decryption throws PptxReadExceptionBughttps://docs.aspose.com/slides/net/password-protected-presentation/#decrypting-a-presentation-opening-an-encrypted-presentation
SLIDESNET-42874Labels of chart axis are lost when loading and then saving PPTX fileBughttps://docs.aspose.com/slides/net/export-chart/
SLIDESNET-42873Error while saving in HTML format PPTX file containing grouped shapesBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-html/
SLIDESNET-42869PowerPoint zoom summary not working after resavingBughttps://docs.aspose.com/slides/net/manage-zoom/
SLIDESNET-42859Saving presentation failed with ArgumentOutOfRangeExceptionBughttps://docs.aspose.com/slides/net/export-chart/
SLIDESNET-42854Shape transparency is missing when converting PPTX to PDFBug< https://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/>
SLIDESNET-42853PPTX to PDF operation results in infinite processing timeBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-42812Chart is displayed incorrectly when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/export-chart/
SLIDESNET-42809Multithreaded presentation saving throws NullReferenceExceptionBughttps://docs.aspose.com/slides/java/multithreading/
SLIDESNET-42806Chart bevel effect missing in generated PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-42805SmartArt rotation effect missing in generated PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-42793Labels of chart axis are wrapped when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/export-chart/
SLIDESNET-42762Thumbnail rendering hangs for presentation with embedded Excel documentBughttps://docs.aspose.com/slides/net/convert-slide/#converting-all-slides-to-images
SLIDESNET-42724Chart has a different style when converting from PPTX to JPEGBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-jpg/
SLIDESNET-42712Charts do not show properly in generated PDFBughttps://docs.aspose.com/slides/net/export-chart/
SLIDESNET-42537Embedded EMF image in PPTX file is not detectedBughttps://docs.aspose.com/slides/net/convert-ppt-to-pptx/
SLIDESNET-41315Media resources duplication for SVG and WDP formatsBughttps://docs.aspose.com/slides/net/render-slide-as-svg-image/
SLIDESNET-38133Wrong table in converted ODP presentationBughttps://docs.aspose.com/slides/net/convert-openoffice-odp/
SLIDESNET-37968Slide Masters and Layouts difference in .ppt and .pptx filesBughttps://docs.aspose.com/slides/net/slide-master/
SLIDESNET-36616Getting extra Tags in resaved presentationBughttps://docs.aspose.com/slides/net/managing-tags-and-custom-data/

Public API Changes

Support for Summary Zoom and Section Zoom

We implemented support for Section zoom and Summary zoom. See the Manage Zoom article.

This C# code demonstrates the creation of SectionZoomFrame and SummaryZoomFrame objects:

using (Presentation pres = new Presentation())
{
   //Adds a new slide to the presentation
   ISlide slide = pres.Slides.AddEmptySlide(pres.Slides[0].LayoutSlide);
   slide.Background.FillFormat.FillType = FillType.Solid;
   slide.Background.FillFormat.SolidFillColor.Color = Color.Brown;
   slide.Background.Type = BackgroundType.OwnBackground;

   // Adds a new section to the presentation
   pres.Sections.AddSection("Section 1", slide);

   //Adds a new slide to the presentation
   slide = pres.Slides.AddEmptySlide(pres.Slides[0].LayoutSlide);
   slide.Background.FillFormat.FillType = FillType.Solid;
   slide.Background.FillFormat.SolidFillColor.Color = Color.Aqua;
   slide.Background.Type = BackgroundType.OwnBackground;

   // Adds a new section to the presentation
   pres.Sections.AddSection("Section 2", slide);

   //Adds a new slide to the presentation
   slide = pres.Slides.AddEmptySlide(pres.Slides[0].LayoutSlide);
   slide.Background.FillFormat.FillType = FillType.Solid;
   slide.Background.FillFormat.SolidFillColor.Color = Color.Chartreuse;
   slide.Background.Type = BackgroundType.OwnBackground;

   // Adds a new section to the presentation
   pres.Sections.AddSection("Section 3", slide);

   //Adds a new slide to the presentation
   slide = pres.Slides.AddEmptySlide(pres.Slides[0].LayoutSlide);
   slide.Background.FillFormat.FillType = FillType.Solid;
   slide.Background.FillFormat.SolidFillColor.Color = Color.DarkGreen;
   slide.Background.Type = BackgroundType.OwnBackground;

   // Adds a new section to the presentation
   pres.Sections.AddSection("Section 4", slide);

   // Adds a SectionZoomFrame object
   ISectionZoomFrame sectionZoomFrame = pres.Slides[0].Shapes.AddSectionZoomFrame(20, 20, 300, 200, pres.Sections[1]);

   // Adds SummaryZoomFrame object
   ISummaryZoomFrame summaryZoomFrame = pres.Slides[0].Shapes.AddSummaryZoomFrame(350, 50, 300, 200);

   // Saves the presentation
   pres.Save("presentation.pptx", SaveFormat.Pptx);
}

Low Code API

We implemented a low code API that allows you to perform popular operations using only a few lines of code.

For example, with this single line of code, you can convert a PowerPoint to PDF:

Convert.AutoByExtension("pres.pptx", "pres.pdf")

This is another example that demonstrates shows you how to output each portion of text in a presentation using as few lines of code as possible:

using (Presentation pres = new Presentation("pres.pptx"))
{
    ForEach.Portion(pres, (portion, para, slide, index) =>
    {
        Console.WriteLine($"{portion.Text}");
    });
}

ObjectData, EmbeddedFileExtension, and EmbeddedFileData have been removed from the IOleObjectFrame interface

Obsolete properties ObjectData, EmbeddedFileExtension, and EmbeddedFileData have been removed from IOleObjectFrame interface. Use the SetEmbeddedData method and EmbeddedData property from the IOleObjectFrame interface instead.