Aspose.Slides for .NET 19.6 Release Notes

SLIDESNET-40010Setter for ExternalWorkbookPath of ExternalWorkbook in chartsInvestigation
SLIDESNET-41093Save presentation as memory stream issueInvestigation
SLIDESNET-40958Option for making every page self-sufficient when saving presentation as HTMLFeature
SLIDESNET-40672Support for extracting VBA macros from presentationFeature
SLIDESNET-34681Support for progress in percentage for PDF conversionFeature
SLIDESNET-41101Implement a progress in percentage for PDF conversionFeature
SLIDESNET-41142Support for setting lock Aspect Ratio for text boxFeature
SLIDESNET-41092IColorFormat.Color does not return effective colorFeature
SLIDESNET-31569Adding custom lines in PowerPoint chartsFeature
SLIDESNET-30385Auto-Refresh Chart with Editing dataFeature
SLIDESNET-16733Fusion Charts support in Aspose.SlidesFeature
SLIDESNET-18215Support for ComponentArt chart objects in Aspose.SlidesFeature
SLIDESNET-12438SmartArt and Chart Object implementation for PPTX -> PDFEnhancement
SLIDESNET-41149Generating Box and Whisker ChartEnhancement
SLIDESNET-41090PPTX file not properly converted to PDFBug
SLIDESNET-40609Different font-weight value when running on different OSBug
SLIDESNET-41074POT file detecting as PPT fileBug
SLIDESNET-41091Charts points positions shifted after conversion to .ppsxBug
SLIDESNET-40988Chart missing when converting PPTX to PDFBug
SLIDESNET-37325Japanese character widths differ in PDF outputBug
SLIDESNET-41170PPTX to PDF - bullets show up in output PDFBug
SLIDESNET-41084Chart category axis label is not properly wrapped in PDF outputBug
SLIDESNET-41097SVG image improperly rendered when exporting PPTX to PDFBug
SLIDESNET-41076PDF not properly generated with Aspose.SlidesBug
SLIDESNET-34842Chart types failed to work when generating chartsBug
SLIDESNET-36076Exception: Not a PowerPoint presentation on loadingBug
SLIDESNET-41079PPTM corrupted after resaving to PPTMBug
SLIDESNET-40282Customer property feature not working in ODP formatBug
SLIDESNET-41129Table borders are lost in cloning table rowBug
SLIDESNET-41083PPTX file not properly converted to SVGBug
SLIDESNET-41152Wrong slide thumbnail returned if NotesCommentsLayoutingOptions are specifiedBug
SLIDESNET-41095PptxReadException on loading presentationBug
SLIDESNET-34510Gradient Fill type for bubble chart is coming as Automatic in PowerPointBug
SLIDESNET-41096PPTX not properly resavedBug
SLIDESNET-41106Shadows are appearing wrongly in thumbnailBug
SLIDESNET-41104Thumbnails are not properly generatedBug
SLIDESNET-41109NotesPositions.BottomFull forces portrait layout and truncates notesBug
SLIDESNET-41111Image lost on conversionBug
SLIDESNET-37888File size ExceptionBug
SLIDESNET-39132Missing Chart data in PPTXBug
SLIDESNET-41120Text is not getting autofit inside shapeBug
SLIDESNET-40780Thumbnails are not properly generated from PPTXBug
SLIDESNET-41039Shadow appears while converting PPTX to PDFBug
SLIDESNET-40945Video not playing after cloningBug
SLIDESNET-41043Added video cannot be played in PowerPoint 2010Bug
SLIDESNET-40732Generating Thumbnails took long timeBug
SLIDESNET-39531Error in presentation on openingBug
SLIDESNET-36034Missing graphs axis and improper chartBug
SLIDESNET-36128Opening and Saving Presentation using stream is slow in performance than legacy version of APIBug
SLIDESNET-39841Improper horizontal axis rendering in generated PNGBug
SLIDESNET-36318Text Font changes from Calibri to Arial on saving presentationBug
SLIDESNET-40475Thumbnails not properly generated from JPEGBug
SLIDESNET-36232The slide is improperly rendered in generated PDFBug
SLIDESNET-29245Charts failed to render in generated thumbnailBug
SLIDESNET-21078Improper PPT chart rendering in exported PDFBug
SLIDESNET-23517Pie charts labels are missing in the rendered PDFBug
SLIDESNET-26736Chart category are not removedBug
SLIDESNET-30875Chart improperly rendered in exported TIFF and PDFBug
SLIDESNET-32447Issues with chartsBug
SLIDESNET-30529Chart do not updated after changing data in MS ExcelBug
SLIDESNET-23516Rendered charts are either missing or of wrong typeBug
SLIDESNET-24887HasLegend property of ChartEx is not workingBug
SLIDESNET-14300Charts not appearing properly in slide thumbnailsBug
SLIDESNET-28416PowerPoint charts failed to rendered in generated thumbnailsBug
SLIDESNET-33138The chart title fail to hideBug
SLIDESNET-25610Slide with chart is corrupted when cloned in same presentationBug
SLIDESNET-31318Charts failed to render in exported PDFBug
SLIDESNET-15967Error loading an Excel Chart in PowerPoint SlideBug
SLIDESNET-23911Chart type StackedBar or StackedColumn are generated with offsetBug
SLIDESNET-27696Slide with chart gets corrupted on presentation saveBug
SLIDESNET-31319Chart improperly rendered in exported PDFBug
SLIDESNET-24747Changing chart type result in blank chart as no chart data association worksBug
SLIDESNET-22961Chart label text height is increased on cloning slideBug

Public API Changes

Following methods of the INotesSlide interface have been removed:

  • Bitmap GetThumbnail(float scaleX, float scaleY);
  • Bitmap GetThumbnail(Size imageSize);

Use ISlide.GetThumbnail method with parameter of type INotesCommentsLayoutingOptions instead.

Following methods of the ISlide interface have been removed:

  • void RenderToGraphics(bool withNotes, Graphics graphics, int width, int height);
  • void RenderToGraphics(bool withNotes, Graphics graphics, float scale);
  • void RenderToGraphics(bool withNotes, Graphics graphics);

Use RenderToGraphics method with parameter of type INotesCommentsLayoutingOptions instead.

Property bool IncludeComments has been removed from IHtmlOptions, IPdfOptions, ISwfOptions and ITiffOptions interfaces. Use INotesCommentsLayoutingOptions interface instead.

Named constants PdfNotes, TiffNotes, SwfNotes and HtmlNotes have been removed from the SaveFormat enumeration. Use specific options with INotesCommentsLayoutingOptions element for saving presentation instead.

BackgroundEffectiveData class and IBackgroundEffectiveData interface have been added

Aspose.Slides.IBackgroundEffectiveData interface and it’s implementation by Aspose.Slides.BackgroundEffectiveData class have been added. They represent effective background of slide and contain information about effective fill format and effective effect format.

IBaseSlide.CreateBackgroundEffective method has been added

CreateBackgroundEffective method has been added to IBaseSlide interface and BaseSlide class. Using this method allows to get effective values for slide’s background.

Sample code below outputs effective background fill:

Presentation pres = new Presentation("SamplePresentation.pptx");
IBackgroundEffectiveData effBackground = pres.Slides[0].CreateBackgroundEffective();
if (effBackground.FillFormat.FillType == FillType.Solid)
    Console.WriteLine("Fill color: " + effBackground.FillFormat.SolidFillColor);
    Console.WriteLine("Fill type: " + effBackground.FillFormat.FillType);

New IProgressCallback interface has been added

New IProgressCallback interface has been added to ISaveOptions interface and SaveOptions abstract class. IProgressCallback interface represents a callback object for saving progress updates in percentage.

public interface IProgressCallback
    /// <summary>
    /// Reports a progress update.
    /// </summary>
    /// <param name="progressValue">A value of the updated progress.</param>
    void Reporting(double progressValue);

Code snippets below show how to use IProgressCallback interface:

using (Presentation presentation = new Presentation(fileName))
    ISaveOptions saveOptions = new PdfOptions();
    saveOptions.ProgressCallback = new ExportProgressHandler();
    presentation.Save(pdfFileName, SaveFormat.Pdf, saveOptions);

class ExportProgressHandler : IProgressCallback
    public void Reporting(double progressValue)
        // Use progress percentage value here

Pot value has been added to LoadFormat and SaveFormat enumerations

The new Pot value has been added to Aspose.Slides.LoadFormat and Aspose.Slides.SaveFormat enumerations. This value represents Microsoft PowerPoint 97-2003 Presentation template format.

Support of management images as BLOBs has been added

The new method has been added to IImageCollection interface and ImageCollection class to support adding large image as streams to treat them as BLOBs:

IPPImage AddImage(Stream stream, LoadingStreamBehavior loadingStreamBehavior);

Adding new image as BLOB to the presentation

This example demonstrates how to include the large BLOB (image) and prevent a high memory consumption.

static void AddingNewBlobImageToPresentation()
    // supposed we have the large image file we want to include into the presentation
    const string pathToLargeImage = "largeImage.png";

    // create a new presentation which will contain this image
    using (Presentation pres = new Presentation())
        using (FileStream fileStream = new FileStream(pathToLargeImage, FileMode.Open))
            // let's add the image to the presentation - we choose KeepLocked behavior, because we not
            // have an intent to access the "largeImage.png" file.
            IPPImage img = pres.Images.AddImage(fileStream, LoadingStreamBehavior.KeepLocked);
            pres.Slides[0].Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 0, 300, 200, img);

            // save the presentation. Despite that the output presentation will be
            // large, the memory consumption will be low the whole lifetime of the pres object
            pres.Save("presentationWithLargeImage.pptx", SaveFormat.Pptx);