Browse our Products

Aspose.Slides for .NET 25.9 Release Notes

New Features and Improvements

KeySummaryCategoryRelated Documentation
SLIDESNET-45060Drawn shapes and charts are incorrectly tagged as artifacts in the output PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-44134Slide master content cropping when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-45099PPTX to JPG: Output file is not rendered correctlyBug
SLIDESNET-43455PPTX to PDF: EMF not rendered correctly in LinuxBug
SLIDESNET-45083NullReferenceException occurs when saving a presentation to PPTXBughttps://docs.aspose.com/slides/net/save-presentation/
SLIDESNET-45084Missing X, Y, Width, and Height values for chart elementsEnhancementhttps://docs.aspose.com/slides/net/chart-calculations/
SLIDESNET-45091PptxReadException is thrown when loading a PPTX fileBughttps://docs.aspose.com/slides/net/presentation-comments/
SLIDESNET-45094NullReferenceException is thrown when converting PPT to HTML5Bug
SLIDESNET-45043Date formatting for x-axis labels of the chart not applied in the output PDFBug
SLIDESNET-45093Incorrect language setting when converting PPT to PDF/UABughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-45074Box-and-Whisker chart gets squished when converting a slide to an imageBug
SLIDESNET-45073Chart X-axis labels appear slanted when converting a slide to an imageBug
SLIDESNET-45061Decorative images and diagrams are not marked as artifacts during PDF conversionBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-45059Footer content is not tagged as artifact during PDF conversionBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-45082Improve import of extended Excel chartsEnhancement
SLIDESNET-44799Text characters are overlapped when converting PPTX to XPSBug
SLIDESNET-45055Shape text incorrectly converted to figure in PDF outputBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-44996Chart title changes from Japanese to English when converting a PPTX to XPSBug
SLIDESNET-45065OverflowException is thrown when converting PPTX to PPTBughttps://docs.aspose.com/slides/net/save-presentation/
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/

Updates to Supported Target Platforms

As part of our ongoing efforts to enhance the quality and security of our product, we are planning to discontinue support for outdated versions of the .NET Framework, such as .NET Framework 2.0, 3.5, and 4.0. These will be replaced with assemblies targeting more modern and secure versions of the .NET platform.

These changes are scheduled to take effect starting with version 25.10.
We recommend updating your projects in advance to ensure compatibility with the supported .NET versions.

For more details about the updates to supported target platforms, please refer to this article.

Public API Changes

Updated Classes: ChartTitle and Legend

The ChartTitle and Legend classes now implement the IActualLayout interface.
This provides access to the following properties: ActualX, ActualY, ActualWidth, and ActualHeight.

/// <summary>
/// Specifies actual x location (left) of the chart element relative to the left top corner of the chart.
/// Call method IChart.ValidateChartLayout() before to get actual values. 
/// Read <see cref="float"/>.
/// </summary>
public float ActualX;

/// <summary>
/// Specifies actual top of the chart element relative to the left top corner of the chart.
/// Call method IChart.ValidateChartLayout() before to get actual values. 
/// Read <see cref="float"/>.
/// </summary>
public float ActualY;

/// <summary>
/// Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. 
/// Read <see cref="float"/>.
/// </summary>
public float ActualWidth;

/// <summary>
/// Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. 
/// Read <see cref="float"/>.
/// </summary>
public float ActualHeight;

The following code sample demonstrates how to use these properties:

using (Presentation pres = new Presentation())
{
    var chart = (Chart)pres.Slides[0].Shapes.AddChart(ChartType.ClusteredColumn, 100, 100, 500, 350);
    chart.ValidateChartLayout();

    var chartTitle = chart.ChartTitle;
    Console.WriteLine($"ChartTitle.X = {chartTitle.ActualX}, ChartTitle.Y = {chartTitle.ActualY}");
    Console.WriteLine($"ChartTitle.Width = {chartTitle.ActualWidth}, ChartTitle.Height = {chartTitle.ActualHeight}");

    var legend = chart.Legend;
    Console.WriteLine($"Legend.X = {legend.ActualX}, Legend.Y = {legend.ActualY}");
    Console.WriteLine($"Legend.Width = {legend.ActualWidth}, Legend.Height = {legend.ActualHeight}");
}