Browse our Products

Aspose.Slides for C++ 25.9 Release Notes

Supported Platforms

  • Aspose.Slides for C++ for Windows x64/x86 (Microsoft Visual Studio 2017 or later).
  • Aspose.Slides for C++ for Linux (Clang 3.9 or later, GCC 6.1 or later, glibc 2.23 or later).
  • Aspose.Slides for C++ for macOS x86_64/ARM64 (Xcode 13.4 or later).

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESNET-45084Missing X, Y, Width, and Height values for chart elementsEnhancementhttps://docs.aspose.com/slides/net/chart-calculations/
SLIDESNET-45082Improve import of extended Excel chartsEnhancement
SLIDESNET-45057Accessibility errors of PDF structure with PowerPoint zoom links when validating the file with PAC (PDF Accessibility Checker)Investigationhttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESCPP-4060Use Aspose.Slides for .NET 25.9 featuresEnhancementhttps://releases.aspose.com/slides/net/release-notes/2025/aspose-slides-for-net-25-9-release-notes/

Public API Changes

Updated Classes: ChartTitle and Legend

The ChartTitle and Legend classes now implement the IActualLayout interface.
This provides access to the following methods: get_ActualX(), get_ActualY(), get_ActualWidth(), and get_ActualHeight().

The following code sample demonstrates how to use these methods:

SharedPtr<Presentation> pres = MakeObject<Presentation>();

auto chart = ExplicitCast<Chart>(pres->get_Slide(0)->get_Shapes()->AddChart(ChartType::ClusteredColumn, 100, 100, 500, 350));
chart->ValidateChartLayout();

auto chartTitle = chart->get_ChartTitle();
Console::WriteLine(u"ChartTitle.X = {0}, ChartTitle.Y = {1}", chartTitle->get_ActualX(), chartTitle->get_ActualY());
Console::WriteLine(u"ChartTitle.Width = {0}, ChartTitle.Height = {1}", chartTitle->get_ActualWidth(), chartTitle->get_ActualHeight());

auto legend = chart->get_Legend();
Console::WriteLine(u"Legend.X = {0}, Legend.Y = {1}", legend->get_ActualX(), legend->get_ActualY());
Console::WriteLine(u"Legend.Width = {0}, Legend.Height = {1}", legend->get_ActualWidth(), legend->get_ActualHeight());

New methods have been added to various interfaces and classes to improve API usability.

These methods have been added to reduce the complexity of invocation chains.

It should be noted that the old way can still be used and is fully equivalent to the new way.

List of methods:

Class nameOrdinary syntaxNew improved syntax
Aspose::Slides::IPresentationget_LayoutSlides()->idx_get(index)get_LayoutSlide(index)
Aspose::Slides::Presentationget_LayoutSlides()->idx_get(index)get_LayoutSlide(index)
Aspose::Slides::IMasterSlideget_LayoutSlides()->idx_get(index)get_LayoutSlide(index)
Aspose::Slides::MasterSlideget_LayoutSlides()->idx_get(index)get_LayoutSlide(index)