Aspose.Slides for .NET 16.9.0 Release Notes

SLIDESNET-36283Support for adding and removing custom XML parts in presentation using Aspose.SlidesFeature
SLIDESNET-34302Support for HandoutMaster in PPTFeature
SLIDESNET-32049Setting chart data range using Aspose.SlidesFeature
SLIDESNET-37890Text is improperly rendered in generated thumbnailBug
SLIDESNET-37889Wrong line series labels in resaving pptx presentationBug
SLIDESNET-37827Parenthesis direction is changed after saving pptBug
SLIDESNET-37825Slides Bullets are changed after saving pptBug
SLIDESNET-37824Slide Background changes after saving pptBug
SLIDESNET-37820Punctuation marks are misplaced after loading and saving a pptBug
SLIDESNET-37819Slide shadow gone after saving pptBug
SLIDESNET-37818Angel for slides is changed after saving pptBug
SLIDESNET-37817Background color Changed after saving pptBug
SLIDESNET-37812Background color blending alignments changing after transforming to PDFBug
SLIDESNET-37803Slide color changes while converting pptx to svgBug
SLIDESNET-37802Generating slide thumbnail process hangs on slide 35Bug
SLIDESNET-37800Setting Embedded Aspose.Slides license fail when using Application through Crypto ObfuscatorBug
SLIDESNET-37797Background is improperly rendered in generated PDF and thumbnailsBug
SLIDESNET-37792Background Color changes after saving pptBug
SLIDESNET-37790Notes Page view corrupted after saving pptBug
SLIDESNET-37763Legend text partially missing in the generated thumbnailBug
SLIDESNET-37758Text has bold and italic styles after exporting presentation to pptBug
SLIDESNET-37665PPT to PDF conversion content are missingBug
SLIDESNET-37568Issue while reading slide notesBug
SLIDESNET-37461Font changed to Wingdings on ppt load and saveBug
SLIDESNET-37447MasterNotesSlide returns null for ppt filesBug
SLIDESNET-37446MasterNotesSlide returns null for ppt filesBug
SLIDESNET-37392Line chart is incorrectly rendered in generated thumbnail of slide with chartBug
SLIDESNET-37360Different shape width in generated pdfBug
SLIDESNET-37356Incorrect text wrap in generated pdfBug
SLIDESNET-37348ArgumentException while loading a pptBug
SLIDESNET-37344Text formatting lost when saving PPTBug
SLIDESNET-37121Gradient and text alignment changed on presentation load and saveBug
SLIDESNET-36676Background changed on presentation load and saveBug
SLIDESNET-36633Slides notes are displayed in top left on saving presentationBug
SLIDESNET-35728Master notes slide returns nullBug
SLIDESNET-34017Series label count returns 0 for already added labels to show series valuesBug
SLIDESNET-33920Chart.CategoryAxis return null for ScatterChartBug

Public API Changes

Interface ICustomXmlPart and class CustomXmlPart have been added

Interface Aspose.Slides.ICustomXmlPart and related class Aspose.Slides.CustomXmlPart have been added. It represents one custom xml part and provides methods to get or set xml content, used schema’s and id.

Interface ICustomXmlPartCollection and class CustomXmlPartCollection have been added

Interface Aspose.Slides.ICustomXmlPartCollection and related class Aspose.Slides.CustomXmlPartCollection have been added. It represents a collection of custom xml parts and provides methods to get, create and delete items.

Property EffectFormat has been added to IBackground and Background

Property EffectFormat has been added to interface Aspose.Slides.IBackground and class Aspose.Slides.Background for specifying effects of slide background.

Code snippet:

using (Presentation pres = new Presentation())
     IBackground background = pres.Slides[0].Background;
     background.Type = BackgroundType.OwnBackground;

     // Set slide background to Solid color
     background.FillFormat.FillType = FillType.Solid;
     background.FillFormat.SolidFillColor.Color = Color.Cornsilk;

     // Add shadow to slide
     IOuterShadow shadow = background.EffectFormat.OuterShadowEffect;
     shadow.ShadowColor.Color = Color.Chocolate;
     shadow.Distance = 15.0;
     shadow.Direction = 45f;

     pres.Save(path + "out.pptx", SaveFormat.Pptx);

Property ICustomData.CustomXmlParts has been added

Property Aspose.Slides.ICustomData.CustomXmlParts has been added. It represents a collection of custom xml parts associated with the corresponding ICustomData instance.

using(Presentation pres = new Presentation())
    pres.Slides[0].CustomData.CustomXmlParts.Add(GetXmlStringSample("John Doe")); //add new custom xml to slide custom data
    pres.Save(@"out.pptx", SaveFormat.Pptx);
private static string GetXmlStringSample(string name)
    string xmlString =
        "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
        "<employees xmlns=\"\">" +
            "<employee>" +
                "<name>" + name + "</name>" +
            "</employee>" +
    return xmlString;

Property IPresentation.AllCustomXmlParts has been added

Property Aspose.Slides.IPresentation.AllCustomXmlParts has been added. It returns all custom xml parts contained in the presentation.

//Sample for clear all custom xml parts from presentation
using (Presentation pres = new Presentation("PresentationWithCustomXml.pptx"))
    foreach (ICustomXmlPart item in pres.AllCustomXmlParts)
    pres.Save("out.pptx", SaveFormat.Pptx);

SetRange method has been added to interface IChartData and class ChartData

Method SetRange has been added to interface Aspose.Slides.Charts.IChartData and class Aspose.Slides.Charts.ChartData. It allows to set data range with cells formula. Series and categories will be updated based on new data range.

using (Presentation pres = new Presentation())
    IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.Line, 10, 10, 400, 300);
    pres.Save("output.pptx", Export.SaveFormat.Pptx);