Browse our Products

Aspose.Slides for .NET 23.12 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-44306Cross Platform dependencies for .netInvestigation
SLIDESNET-44290Failed to use Aspose.Slides for .NET as COM objectsInvestigation
SLIDESNET-44251wk: Add “Delete cropped areas of picture” feature in Picture FormatFeaturehttps://docs.aspose.com/slides/net/picture-frame/
SLIDESNET-43933Converting presentations to TIFF images as handoutsFeature
SLIDESNET-43525Implement “Mark as decorative” settingsFeature
SLIDESNET-443133x Increase in the Runtime after Updating Aspose.Slides for .NET from 23.8Enhancementhttps://docs.aspose.com/slides/net/create-shape-thumbnails/
SLIDESNET-44264Loading the PPT file throws an error: “Specified argument was out of the range of valid values”Enhancementhttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44263Loading the PPT file throws an error: “Specified cast is not valid”Enhancementhttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44262Image quality is low when converting the presentation to PDFEnhancementhttps://docs.aspose.com/slides/net/conversion-to-pdf/
SLIDESNET-44240Images cannot be selected in an output PDF documentEnhancementhttps://docs.aspose.com/slides/net/conversion-to-pdf/
SLIDESNET-44334PPTX to HTML5 conversion broke in 23.11Bughttps://docs.aspose.com/slides/net/export-to-html5/#export-powerpoint-to-html5
SLIDESNET-44328“Unable to cast object of type” error appears after updating Aspose.Slides for .NETBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44312Regression: Shape to Bitmap performanceBughttps://docs.aspose.com/slides/net/create-shape-thumbnails/
SLIDESNET-44311Regression: PPTX to PPTM: System.ArgumentNullExceptionBughttps://docs.aspose.com/slides/net/manage-zoom/
SLIDESNET-44297PPTX to PNG: Text not rendered correctlyBughttps://docs.aspose.com/slides/net/convert-slide/#converting-slides-to-bitmap-and-saving-the-images-in-png
SLIDESNET-44296Poor image quality in PDFBughttps://docs.aspose.com/slides/net/conversion-to-pdf/
SLIDESNET-44288Additional blank paragraphs are added when importing the HTML stringBughttps://docs.aspose.com/slides/net/manage-paragraph/#import-html-text-in-paragraphs
SLIDESNET-44276Loading the PPTX file throws an error: “Size of entry less that it is declared!”Bughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44274Loading the PPT file throws an exceptionBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44273Loading the PPT file throws an error: “Source array was not long enough”Bughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44272Loading the PPT file throws an error “Attempted to read past the end of the stream”Bughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-44265Loading the PPTX file throws an error “TimeLine.Load, error reading slide”Bug
SLIDESNET-44257Regression: CalculateFormulas throws Function CONCATENATE is not supportedBug
SLIDESNET-44255wk: the chart in PowerPoint and chart converted to PNG image do not match - reverseBughttps://docs.aspose.com/slides/net/create-chart/
SLIDESNET-44254wk: the chart in PowerPoint and chart converted to PNG image do not match - label rotatedBughttps://docs.aspose.com/slides/net/create-chart/
SLIDESNET-44250Spaces are missing after saving the presentation to HTMLBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-html/
SLIDESNET-44234PPTX to PDF on Azure App Services: chart missingBug
SLIDESNET-44218Failed to update text in SmartArt node shapeBughttps://docs.aspose.com/slides/net/manage-smartart-shape-node/
SLIDESNET-44202Name of the embedded Excel sheet is changed when converting PPT to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint/
SLIDESNET-43835PPTX to HTML5 conversion throws ArgumentOutOfRangeExceptionBughttps://docs.aspose.com/slides/net/export-to-html5/
SLIDESNET-43512Exception on PPTX to HTML5 conversionBughttps://docs.aspose.com/slides/net/export-to-html5/
SLIDESNET-43454Green shape appears when converting slide with Ink object to imageBug
SLIDESNET-43161InvalidOperationException is thrown on exporting to Html5Bughttps://docs.aspose.com/slides/net/export-to-html5/

Public API Changes

Handout Presentation export layout mode added

A new Handout presentation export layout mode was added. It represents the corresponding PowerPoint “Print as Handouts” feature. An enumeration HandoutType represents the possible handout types:

  • One slide per page
  • Two slides per page
  • Three slides per page
  • Four slides per page in a horizontal sequence
  • Four slides per page in a vertical sequence
  • Six slides per page in a horizontal sequence
  • Six slides per page in a vertical sequence
  • Nine slides per page in a horizontal sequence
  • Nine slides per page in a vertical sequence

Below is an example of rendering of a presentation in the Handout layout:

using (Presentation pres = new Presentation("pres.pptx"))
{
    RenderingOptions options = new RenderingOptions
    {
        SlidesLayoutOptions = new HandoutLayoutingOptions
        {
            Handout = HandoutType.Handouts4Horizontal,
            PrintSlideNumbers = false
        }
    };
    
    Bitmap[] handoutSlides = pres.GetThumbnails(options);
    for (var index = 0; index < handoutSlides.Length; index++)
    {
        var handoutSllide = handoutSlides[index];
        handoutSllide.Save($"handout-{index}.png");
    }
}

To export presentation in the Handout layout to PDF:

using (Presentation pres = new Presentation("pres.pptx"))
{
    PdfOptions options = new PdfOptions
    {
        SlidesLayoutOptions = new HandoutLayoutingOptions
        {
            Handout = HandoutType.Handouts4Horizontal
        }
    };
    
    pres.Save("pres.pdf", SaveFormat.Pdf, options);
}

NotesCommentsLayouting is obsolete for RenderingOptions, HtmlOtions, PdfOptions, TiffOptions

NotesCommentsLayouting property declared as obsolete for RenderingOptions, HtmlOtions, PdfOptions, TiffOptions. The property will be removed after the release of version 24.3.

Please use SlidesLayoutOptions property instead:

using (Presentation pres = new Presentation("pres.pptx"))
{
    PdfOptions options = new PdfOptions
    {
        SlidesLayoutOptions = new NotesCommentsLayoutingOptions
        {
            NotesPosition = NotesPositions.BottomTruncated
        }
    };

    pres.Save("pres.pdf", SaveFormat.Pdf, options);
}

InkOptions class has been added

InkOptions and the corresponding IInkOptions interface has been added. It provides options that control the look of Ink objects in exported documents.

InkOptions.HideInk allows to show or hides Ink elements in exported document. InkOptions.InterpretMaskOpAsOpacity can be used to set ROP operation or Opacity for rendering brush. InkOptions.InterpretMaskOpAsOpacity indicates if it Uses ROP operation or Opacity for rendering brush.

Example:

using (Presentation pres = new Presentation("pres.pptx"))
{
    PdfOptions options = new PdfOptions();
    options.InkOptions.HideInk = true;

    pres.Save("pres.pdf", SaveFormat.Pdf, options);
}

IPictureFillFormat.DeletePictureCroppedAreas method has been added

IPictureFillFormat.DeletePictureCroppedAreas method allows the cropped areas of the fill Picture:

using (Presentation presentation = new Presentation("demo.pptx"))
{
    ISlide slide = presentation.Slides[0];
 
    // Gets the PictureFrame
    IPictureFrame picFrame = slide.Shapes[0] as IPictureFrame;
 
    // Deletes cropped areas of the PictureFrame image
    IPPImage croppedImage = picFrame.PictureFormat.DeletePictureCroppedAreas();
}

This can help to reduce the size of the presentation.

Shape.IsDecorative property has been added

The new Shape.IsDecorative property allows to set if the shape is “decorative” (used for decorative purposes, for example, some stylistic objects).

Example:

using (Presentation pres = new Presentation("sample.pptx"))
{
    pres.Slides[0].Shapes[0].IsDecorative = true;
}