Browse our Products

Aspose.Slides for .NET 24.7 Release Notes

New Features and Improvements

KeySummaryCategoryRelated Documentation
SLIDESNET-44572Content is not proper while converting PPT to TIFF in “Handout” modeBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-tiff/
SLIDESNET-43369Converting PPT to HTML5 throws ArgumentOutOfRangeExceptionBughttps://docs.aspose.com/slides/net/export-to-html5/
SLIDESNET-44603Icons/shapes on the slide are not rendered properly in the output thumbnail SVG imageBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-jpg/
SLIDESNET-44621PptxReadException is thrown when loading PPTX fileBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44515Charts are rendered incorrectly when converting from PPT to PDFBug
SLIDESNET-43909Converting a paragraph from Notes to HTML throws NullPointerExceptionBughttps://docs.aspose.com/slides/net/manage-paragraph/#export-paragraphs-text-to-html
SLIDESNET-44507Embedding files in exported PDF documentsFeature
SLIDESNET-44556Add Chart placeholder to master or layout slideFeaturehttps://docs.aspose.com/slides/net/slide-layout/
SLIDESNET-44104Deleting OLENative compressed objects from PPTFeaturehttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44598PptxReadException is thrown when loading PPTX fileBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44597Content is missing after using RemoveEncryption method on PPT fileBughttps://docs.aspose.com/slides/net/password-protected-presentation/
SLIDESNET-43941Right border of chart data label is cropped when converting slide to imageBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-png/
SLIDESNET-44560Loading the presentation throws PptxReadExceptionBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44521PptCorruptFileException occurs when loading the password-protected presentationEnhancementhttps://docs.aspose.com/slides/net/password-protected-presentation/
SLIDESNET-44596ArgumentException occurs when loading PPT fileBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44574Charts are missing when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-43582Chart data labels are not displayed correctly when converting slides to PNGBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-png/
SLIDESNET-43937DataLabel background fill is missing when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-445403D shape is not rendered correctlyBughttps://docs.aspose.com/slides/net/3d-presentation/
SLIDESNET-44549The text “Citi Forecasts” is shiftedBug
SLIDESNET-44553The grey rectangle appearsBug
SLIDESNET-44552The formula is displayed incorrectlyBug
SLIDESNET-44550X-axis labels don’t match, “Months” labels are shiftedBug
SLIDESNET-44548Blue area is shiftedBug
SLIDESNET-44585Regression: Functions not supported on ChartDataWorkbook.CalculateFormulas();Bughttps://docs.aspose.com/slides/net/chart-workbook/
SLIDESNET-44589PPTX to PDF: Text on the bar chart is missingBug
SLIDESNET-44506Slide number is counted on the comment pageEnhancementhttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-43954Slide contents do not match after replacing text portionsBughttps://docs.aspose.com/slides/net/manage-smartart/
SLIDESNET-44588Character in math formula is not renderingBughttps://docs.aspose.com/slides/net/powerpoint-math-equations/
SLIDESNET-44516Aspose.Slides.NET6.CrossPlatform crushes on Debian in Docker containerBug

Public API Changes

ILoadOptions.DeleteEmbeddedBinaryObjects property has been added

A new DeleteEmbeddedBinaryObjects property has been added to the ILoadOptions interface and LoadOptions class. It allows you to remove embedded binary data from a presentation file while loading.

The possible binary data in the presentation:

  • VBA Project
  • OLE Object embedded data
  • ActiveX Control binary data.

This property can be useful for removing malicious binary content. The following code sample shows how to load the presentation and save it without malware content:

LoadOptions loadOptions = new LoadOptions() { DeleteEmbeddedBinaryObjects = true };

using (var pres = new Presentation("malware.ppt", loadOptions))
{
    pres.Save("clean.ppt", SaveFormat.Ppt);
}

IPdfOptions.IncludeOleData property has been added

A new IncludeOleData property has been added to the IPdfOptions interface and the PdfOptions class. This property allows you to export files embedded in the presentation to PDF format.

The following example shows how to export a presentation to PDF, including embedded files:

using (Presentation pres = new Presentation("pres.pptx"))
{
    PdfOptions options = new PdfOptions { IncludeOleData = true };
    
    pres.Save("pres.pdf", SaveFormat.Pdf, options);
}

ILayoutPlaceholderManager interface and LayoutPlaceholderManager class have been added

The new interface ILayoutPlaceholderManager represents methods that can be used to add a new placeholder to the Layout slide.

The following types of placeholders can be added:

  • Content
  • Vertical Content
  • Text
  • Vertical Text
  • Picture
  • Chart
  • Table
  • SmartArt
  • Media
  • Online Image

ILayoutSlide.PlaceholderManager property has been added

A new PlaceholderManager property has been added to the ILayoutSlide interface and the LayoutSlide class. It allows access to a placeholder manager of the Layout slide.

The following code sample shows how to add new placeholder shapes to the Layout slide:

using (var pres = new Presentation())
{
    // Getting the Blank layout slide
    ILayoutSlide layout = pres.LayoutSlides.GetByType(SlideLayoutType.Blank);

    // Getting the placeholder manager of the layout slide
    ILayoutPlaceholderManager placeholderManager = layout.PlaceholderManager;

    // Adding different placeholders to the Blank layout slide
    placeholderManager.AddContentPlaceholder(10, 10, 300, 200);
    placeholderManager.AddVerticalTextPlaceholder(350, 10, 200, 300);
    placeholderManager.AddChartPlaceholder(10, 350, 300, 300);
    placeholderManager.AddTablePlaceholder(350, 350, 300, 200);

    // Adding the new slide with Blank layout
    ISlide newSlide = pres.Slides.AddEmptySlide(layout);

    pres.Save("placeholders.pptx", SaveFormat.Pptx);
}