Browse our Products

Aspose.Slides for .NET 21.9 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-42502Hindi text is not displayed when converting PPTX to PDFInvestigation< https://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf>
SLIDESNET-42645.NET5 SupportFeature
SLIDESNET-38994Getting automatic table cells fill colorFeaturehttps://docs.aspose.com/slides/net/manage-table/
SLIDESNET-42579Getting the number of worksheets in a workbookEnhancementhttps://docs.aspose.com/slides/net/chart-workbook/
SLIDESNET-40508Slow slide cloning performance in Aspose.SlidesEnhancementhttps://docs.aspose.com/slides/net/clone-slides/
SLIDESNET-42763Text labels in EMF image are missing when converting presentation to PDFBug< https://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf>
SLIDESNET-42760Animation effect changed (text color) after cloningBughttps://docs.aspose.com/slides/net/clone-slides/
SLIDESNET-42756Can’t parse coordinate exception on HTML fragment addBughttps://docs.aspose.com/slides/net/manage-paragraph/#import-html-text-in-paragraphs
SLIDESNET-42730PPTX conversions hang and throw StackOverflowExceptionBughttps://docs.aspose.com/slides/net/convert-presentation/
SLIDESNET-42728Chart.AlternativeTextTitle property does not workBughttps://docs.aspose.com/slides/net/shape-manipulations/#set-alternative-text-for-shape
SLIDESNET-42721Chart line is continuous when converting PPTX to PNGBughttps://docs.aspose.com/slides/net/export-chart/
SLIDESNET-42720Slide content is getting mirrored left-right when converting to PNGBughttps://docs.aspose.com/slides/net/powerpoint-math-equations/
SLIDESNET-42718Text missing in generated PDF when using FontsLoader.loadExternalFontBughttps://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESNET-42715Shadows are lost after converting PPTX to PNGBug< https://docs.aspose.com/slides/net/convert-slide/#convert-slide-to-bitmap>
SLIDESNET-42707Duotone effective exception on accessing colorBughttps://docs.aspose.com/slides/net/shape-effective-properties/
SLIDESNET-42702Exception on accessing solid fill colorBughttps://docs.aspose.com/slides/net/shape-effective-properties/
SLIDESNET-42685Text becomes non-bold after converting presentation to SVGBughttps://docs.aspose.com/slides/net/render-a-slide-as-an-svg-image/
SLIDESNET-42676EMF images are inverted after rendering slides to GraphicsBughttps://docs.aspose.com/slides/net/convert-slide/#converting-slides-to-bitmap-and-saving-the-images-in-png
SLIDESNET-42663EMF images are not showing when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESNET-42617Text effects are missing in generated PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf
SLIDESNET-42613Text and shadow improperly rendered in thumbnailBughttps://docs.aspose.com/slides/net/convert-slide/#convert-slide-to-bitmap
SLIDESNET-40804Text shadow effect improperly rendered in generated PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESNET-40688Thumbnails not properly generated from pptxBughttps://docs.aspose.com/slides/net/create-shape-thumbnails/
SLIDESNET-39769Slide Content missing on saving pptBughttps://docs.aspose.com/slides/net/save-presentation/
SLIDESNET-38977WordArt style of text is missing after saving pptBughttps://docs.aspose.com/slides/net/wordart/
SLIDESNET-38976SmartArt is missing after saving pptBughttps://docs.aspose.com/slides/net/manage-smartart/
SLIDESNET-37979Missing Smart Art on Notes MasterBughttps://docs.aspose.com/slides/net/manage-smartart/
SLIDESNET-37675Black shape borders appears after resaving of ppt presentationBughttps://docs.aspose.com/slides/net/save-presentation/
SLIDESNET-37646IndexOutOfRangeException on loading ODP presentationBughttps://docs.aspose.com/slides/net/convert-openoffice-odp/
SLIDESNET-37371SmartArt shapes lost after load and saveBughttps://docs.aspose.com/slides/net/manage-smartart/
SLIDESNET-36786Improper Odp resavingBughttps://docs.aspose.com/slides/net/convert-openoffice-odp/
SLIDESNET-36693Table cells fill type returns NotDefinedBughttps://docs.aspose.com/slides/net/manage-table/
SLIDESNET-36688Animation sequence changed after portion text changedBughttps://docs.aspose.com/slides/net/powerpoint-animation/
SLIDESNET-35869System exception is thrown on exporting PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESNET-34170Wrong text rendering in thumbnails and PdfBughttps://docs.aspose.com/slides/net/convert-powerpoint-ppt-and-pptx-to-pdf

Public API Changes

HTML5 Export Support

We implemented support for HTML5 Export in Slides (enhanced customizable version of HTML5 Support).

The new Html5 value has been added to SaveFormat enumerations. This value represents the HTML5 format for exporting.

The code snippet below demonstrates the saving presentation in HTML5 operation:

using (Presentation presentation = new Presentation("SomePresentation.pptx"))
{
    presentation.Save("index.html", SaveFormat.Html5);
}

Using the Html5Options configuration, you can export a presentation containing slides transitions, animations, and shapes animations to HTML5:

using (Presentation pres = new Presentation("demo.pptx"))
{
    pres.Save("demo-animate.html", SaveFormat.Html5, new Html5Options()
    {
        AnimateShapes = true,
        AnimateTransitions = true
    });
}

Access to the ChartDataWorksheetCollection has been added

To provide access to worksheets, we added the IChartDataWorksheetCollection interface, ChartDataWorksheetCollection class, and IChartDataWorkbook.Worksheets property.


using (Presentation pres = new Presentation())
{
    IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.Pie, 50, 50, 400, 500);
    
    IChartDataWorkbook workbook =  chart.ChartData.ChartDataWorkbook;
    for (int i = 0; i < workbook.Worksheets.Count; i++)
    {
        Console.WriteLine(workbook.Worksheets[i].Name);
    }
}

IAccessiblePVIObject interface has been added

IAccessiblePVIObject interface has been added to Aspose.Slides namespace. It represents a type that can be a source of an effective version of its data.

IAccessiblePVIObject declaration:

/// <summary>
/// Represents a type that can return corresponding effective data with the inheritance applied.
/// </summary>
/// <typeparam name="T">Type of effective data.</typeparam>
public interface IAccessiblePVIObject<T> where T : class
{
    /// <summary>
    /// Gets effective data with the inheritance applied.
    /// </summary>
    /// <returns>An effective data object.</returns>
    T GetEffective();
}

Currently, all effect types from the Aspose.Slides.Effects namespace implement the IAccessiblePVIObject interface—and this means you can get effective values for effects with styled colors resolved.

This code demonstrates an operation where we added a picture for a slide background, added Duotone effect with styled colors, and then we got the effective duotone colors with which the background will be rendered:


using (Presentation presentation = new Presentation())
{
    IPPImage backgroundImage = presentation.Images.AddImage(Image.FromFile("someimage.png"));

    presentation.Slides[0].Background.Type = BackgroundType.OwnBackground;
    presentation.Slides[0].Background.FillFormat.FillType = FillType.Picture;
    presentation.Slides[0].Background.FillFormat.PictureFillFormat.Picture.Image = backgroundImage;

    IDuotone duotone = presentation.Slides[0].Background.FillFormat.PictureFillFormat.Picture.ImageTransform
        .AddDuotoneEffect();

    duotone.Color1.ColorType = ColorType.Scheme;
    duotone.Color1.SchemeColor = SchemeColor.Accent1;
    duotone.Color2.ColorType = ColorType.Scheme;
    duotone.Color2.SchemeColor = SchemeColor.Dark2;

    IDuotoneEffectiveData duotoneEffective = duotone.GetEffective();

    Console.WriteLine("Duotone effective color1: " + duotoneEffective.Color1);
    Console.WriteLine("Duotone effective color2: " + duotoneEffective.Color2);
}