Browse our Products

Aspose.Slides for .NET 24.4 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-44484FontsLoader.LoadExternalFonts(folders) gets stuckInvestigationhttps://docs.aspose.com/slides/net/custom-font/#load-custom-fonts
SLIDESNET-44443Zip64 format support for output documentsFeaturehttps://docs.aspose.com/slides/net/save-presentation/
SLIDESNET-44338Detect whether macros are password protectedFeaturehttps://docs.aspose.com/slides/net/presentation-via-vba/
SLIDESNET-34007Add support for PPTX to XML exportFeature
SLIDESNET-44455Text is not extracted from group shapesEnhancementhttps://docs.aspose.com/slides/net/extract-text-from-presentation/
SLIDESNET-44442Individual text boxes are generated when importing PDF to PPTXEnhancement
SLIDESNET-44486Cannot create modern comment for selected textBughttps://docs.aspose.com/slides/net/presentation-comments/
SLIDESNET-44465Missing text, cells, and rows in a table when using GetThumbnail methodBughttps://docs.aspose.com/slides/net/convert-slide/
SLIDESNET-44462Table is broken when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-44456Incomplete Text Conversion from PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-44414Chart is displayed incorrectly when saving the presentation to PPTXBughttps://docs.aspose.com/slides/net/manage-presentation/
SLIDESNET-44335Chart is displayed incorrectly when saving PPTX to PPTXBughttps://docs.aspose.com/slides/net/save-presentation/#saving-presentation-to-files
SLIDESNET-44314Character and Symbol are not clear in PDFBug< https://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/>
SLIDESNET-44308Thumbnail error - missing colorsBug
SLIDESNET-44287WMF image is missing in the exported PDF from PPTXBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-44275Loading the PPTX file throws an error: “‘p’ is an undeclared namespace. Line 2, position 2546”Bughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44248Text is missing when converting PPTX to PDF/HTMLBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-44174PPT to XPS: Grid missing or barely visibleBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-xps/
SLIDESNET-44163Empty and null values are considered as zeros when creating Line chartBug
SLIDESNET-43633Converting PPTX to HTML throws PptxReadExceptionBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-html/
SLIDESNET-43493PptxReadException is thrown when loading PPTXBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-43222Custom line spacing became smaller after converting PPTX to HTML5Bug

Public API Changes

Introducing a new Modern API

To gradually move away from using System.Drawing dependencies in the public API, starting with version 24.4 we are starting the transition to the new Modern API.

This means that all public API members that have the following classes in their signature will be removed in version 24.8:

For more details, see: Modern API

Added new classes and enums:

  • IImage - Represents the raster or vector image.
  • ImageFormat - Represents the file format of the image.
  • Images - the static class that contains methods to instantiate IImage.

Methods/properties to be removed and their replacement in Modern API

The following methods and properties are decared as obsolete and will be removed in version 24.8.

Presentation

Method SignatureReplacement Method Signature
public Bitmap[] GetThumbnails(IRenderingOptions options)GetImages(IRenderingOptions options)
public Bitmap[] GetThumbnails(IRenderingOptions options, int[] slides)GetImages(IRenderingOptions options, int[] slides)
public Bitmap[] GetThumbnails(IRenderingOptions options, float scaleX, float scaleY)GetImages(IRenderingOptions options, float scaleX, float scaleY)
public Bitmap[] GetThumbnails(IRenderingOptions options, int[] slides, float scaleX, float scaleY)GetImages(IRenderingOptions options, int[] slides, float scaleX, float scaleY)
public Bitmap[] GetThumbnails(IRenderingOptions options, Size imageSize)GetImages(IRenderingOptions options, Size imageSize)
public Bitmap[] GetThumbnails(IRenderingOptions options, int[] slides, Size imageSize)GetImages(IRenderingOptions options, int[] slides, Size imageSize)
public void Save(string fname, SaveFormat format, HttpResponse response, bool showInline)Will be deleted completely
public void Save(string fname, SaveFormat format, ISaveOptions options, HttpResponse response, bool showInline)Will be deleted completely
public void Print()Will be deleted completely
public void Print(PrinterSettings printerSettings)Will be deleted completely
public void Print(string printerName)Will be deleted completely
public void Print(PrinterSettings printerSettings, string presName)Will be deleted completely

Shape

Method SignatureReplacement Method Signature
public Bitmap GetThumbnail()GetImage
public Bitmap GetThumbnail(ShapeThumbnailBounds bounds, float scaleX, float scaleY)GetImage(ShapeThumbnailBounds bounds, float scaleX, float scaleY)

Slide

Method SignatureReplacement Method Signature
public Bitmap GetThumbnail(float scaleX, float scaleY)GetImage(float scaleX, float scaleY)
public Bitmap GetThumbnail()GetImage
public Bitmap GetThumbnail(IRenderingOptions options)GetImage(IRenderingOptions options)
public Bitmap GetThumbnail(Size imageSize)GetImage(Size imageSize)
public Bitmap GetThumbnail(ITiffOptions options)GetImage(ITiffOptions options)
public Bitmap GetThumbnail(IRenderingOptions options, float scaleX, float scaleY)GetImage(IRenderingOptions options, float scaleX, float scaleY)
public Bitmap GetThumbnail(IRenderingOptions options, Size imageSize)GetImage(IRenderingOptions options, Size imageSize)
public void RenderToGraphics(IRenderingOptions options, Graphics graphics)Will be deleted completely
public void RenderToGraphics(IRenderingOptions options, Graphics graphics, float scaleX, float scaleY)Will be deleted completely
public void RenderToGraphics(IRenderingOptions options, Graphics graphics, Size renderingSize)Will be deleted completely

Output

Method SignatureReplacement Method Signature
public IOutputFile Add(string path, Image image)Add(string path, IImage image)

ImageCollection

Method SignatureReplacement Method Signature
IPPImage AddImage(Image image)AddImage(IImage image)

ImageWrapperFactory

Method SignatureReplacement Method Signature
IImageWrapper CreateImageWrapper(Image image)CreateImageWrapper(IImage image)

PPImage

Method/Property SignatureReplacement Method Signature
void ReplaceImage(Image newImage)ReplaceImage(IImage newImage)
Image SystemImage { get; }IImage Image { get; }

PatternFormat

Method SignatureReplacement Method Signature
Bitmap GetTileImage(Color background, Color foreground)GetTile(Color background, Color foreground)
Bitmap GetTileImage(Color styleColor)GetTile(Color styleColor)

IPatternFormatEffectiveData

Method SignatureReplacement Method Signature
Bitmap GetTileImage(Color background, Color foreground)GetTileIImage(SlidesImage image)

Save Presentation in PowerPoint XML Presentation format - SaveFormat.Xml enum member added

Added the new feature to save a presentation in XML format - using the new enum member SaveFormat.Xml.

Example:

using (Presentation pres = new Presentation())
{
    pres.Save("pres.xml", SaveFormat.Xml);
}

PdfOptions.RasterizeUnsupportedFontStyles property added

Added a new property PdfOptions.RasterizeUnsupportedFontStyles which indicates whether text should be rasterized as a bitmap and saved to PDF when the font does not support bold styling. This approach can enhance the quality of text in the resulting PDF for certain fonts.

Example:

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

PptxOptions.Zip64Mode property added - ZIP64 format support

A new property PptxOptions.Zip64Mode specifies whether the ZIP64 format is used for the Presentation document.

Example:

using (Presentation pres = new Presentation("demo.pptx"))
{
    pres.Save("demo-zip64.pptx", SaveFormat.Pptx, new PptxOptions()
    {
        Zip64Mode = Zip64Mode.Always
    });
}

ZoomObject.Image property replaced with ZoomObject.ZoomImage

Instead of ZoomObject.Image, use the ZoomObject.ZoomImage property:

using (Presentation pres = new Presentation("pres.pptx"))
{
    IZoomFrame zoomFrame = pres.Slides[0].Shapes.AddZoomFrame(150, 20, 50, 50, pres.Slides[1]);
    IPPImage image = pres.Images.AddImage(Images.FromFile("image.png"));
    zoomFrame.ZoomImage = image;
}