Browse our Products
Aspose.Slides for C++ 25.9 Release Notes
This page contains release notes for Aspose.Slides for C++ 25.9
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
Key | Summary | Category | Related Documentation |
---|---|---|---|
SLIDESNET-45084 | Missing X, Y, Width, and Height values for chart elements | Enhancement | https://docs.aspose.com/slides/net/chart-calculations/ |
SLIDESNET-45082 | Improve import of extended Excel charts | Enhancement | |
SLIDESNET-45057 | Accessibility errors of PDF structure with PowerPoint zoom links when validating the file with PAC (PDF Accessibility Checker) | Investigation | https://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/ |
Other Improvements and Changes
Key | Summary | Category | Related Documentation |
---|---|---|---|
SLIDESCPP-4060 | Use Aspose.Slides for .NET 25.9 features | Enhancement | https://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 name | Ordinary syntax | New improved syntax |
---|---|---|
Aspose::Slides::IPresentation | get_LayoutSlides()->idx_get(index) | get_LayoutSlide(index) |
Aspose::Slides::Presentation | get_LayoutSlides()->idx_get(index) | get_LayoutSlide(index) |
Aspose::Slides::IMasterSlide | get_LayoutSlides()->idx_get(index) | get_LayoutSlide(index) |
Aspose::Slides::MasterSlide | get_LayoutSlides()->idx_get(index) | get_LayoutSlide(index) |