Aspose.Slides.NET 16.9.0

Aspose.Slides is a PowerPoint management library for working with Microsoft PowerPoint files without using Microsoft PowerPoint. It allows developers to work with PPT, PPS, POT, PPTX, PPSX, POTX and ODP files on ASP.NET web applications, web services and Windows applications.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Slides.NET -Version 16.9.0
dotnet add package Aspose.Slides.NET --version 16.9.0
<PackageReference Include="Aspose.Slides.NET" Version="16.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Slides.NET --version 16.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

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 schemas 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
    background.EffectFormat.EnableOuterShadowEffect();
    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=\"http://schemas.test.com/sample\">" +
           "<employee>" +
               "<name>" + name + "</name>" +
           "</employee>" +
       "</employees>";
   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)
   {
       item.Remove();
   }
   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);
   chart.ChartData.SetRange("Sheet1!A1:B4");
   pres.Save("output.pptx", Export.SaveFormat.Pptx);
}

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.1.0 119 1/17/2020
19.12.0 1,237 12/31/2019
19.11.0 7,851 11/27/2019
19.10.0 7,057 10/29/2019
19.9.0 11,209 9/12/2019
19.8.0 2,068 8/30/2019
19.7.0 15,390 7/26/2019
19.6.0 6,972 6/25/2019
19.5.0 5,898 5/31/2019
19.4.0 8,507 4/26/2019
19.3.0 3,674 4/3/2019
19.2.0 8,482 2/28/2019
19.1.0 15,793 1/30/2019
18.12.0 5,878 12/27/2018
18.11.0 4,730 11/30/2018
18.10.0 20,568 10/30/2018
18.9.0 3,719 9/30/2018
18.8.0 4,006 8/29/2018
18.7.0 10,666 7/27/2018
18.6.0 16,753 7/1/2018
18.5.0 7,243 5/30/2018
18.4.0 4,451 5/3/2018
18.3.0 3,411 4/1/2018
18.2.1 11,950 3/7/2018
18.2.0 2,198 2/28/2018
18.1.0 3,732 1/30/2018
17.12.1 6,743 12/26/2017
17.12.0 903 12/16/2017
17.11.0 1,396 11/30/2017
17.10.0 6,298 10/31/2017
17.9.1 3,633 10/12/2017
17.9.0 1,629 10/2/2017
17.8.0 10,430 8/30/2017
17.7.0 6,590 7/31/2017
17.6.0 2,708 7/1/2017
17.5.0 2,118 5/31/2017
17.4.0 2,980 4/28/2017
17.3.0 3,509 4/2/2017
17.2.0 8,647 3/1/2017
17.1.0 3,280 1/31/2017
16.12.1 4,885 1/16/2017
16.12.0 1,646 12/27/2016
16.11.0 2,538 11/30/2016
16.10.0 2,538 11/4/2016
16.9.0 3,317 10/12/2016
16.8.0 3,029 9/27/2016
16.7.0 1,601 8/22/2016
16.6.0 20,534 7/15/2016
16.5.0 3,544 6/16/2016
16.4.0 4,045 5/16/2016
16.3.0 8,842 4/11/2016
16.2.0 4,364 3/17/2016
16.1.0 7,181 2/4/2016
15.11.0 11,047 1/11/2016
15.10.0 9,419 12/10/2015
15.9.0 5,953 11/6/2015
15.8.1 989 10/16/2015
15.8.0 1,300 10/5/2015
15.7.0 3,343 9/3/2015
15.6.0 9,198 7/22/2015
15.5.0 2,906 6/16/2015
15.4.0 1,905 5/14/2015
15.3.1 1,085 4/23/2015
15.3.0 737 4/14/2015
15.2.0 13,513 3/6/2015
15.1.0 1,442 2/3/2015
14.10.0 4,761 11/28/2014
14.9.0 1,585 11/11/2014
14.8.1 1,464 10/24/2014
14.8.0 698 10/16/2014
14.7.0 1,934 9/7/2014
14.6.0 1,223 8/6/2014
14.5.0 3,258 7/16/2014
14.4.0 1,829 6/2/2014
14.3.0 2,065 5/6/2014
14.2.0 1,224 3/24/2014
14.1.2 1,669 2/17/2014
14.1.1 702 2/10/2014
14.1.0.2 617 2/6/2014
13.12.0 1,558 12/30/2013
8.4.2 6,874 6/5/2014
8.4.1 1,223 5/6/2014
8.4.0 867 3/3/2014
8.3.0.1 734 2/3/2014
8.2.0 695 12/27/2013
8.1.0 5,294 12/16/2013
8.0.0 1,721 10/25/2013
7.9.0 1,090 10/8/2013
7.8.0 796 9/3/2013
7.7.0 4,312 8/4/2013
7.6.0 905 7/5/2013
7.5.0 1,104 5/27/2013
7.4.0 7,386 4/24/2013
7.3.0 894 4/10/2013
7.2.0 1,140 3/8/2013
7.1.0 3,195 1/28/2013
7.0.0 946 12/31/2012
6.9.0 860 12/10/2012
6.8.0 929 10/30/2012
6.7.0 1,287 10/4/2012
6.6.0 796 9/13/2012
6.5.0 906 7/27/2012
6.4.0 831 6/27/2012
6.3.0 757 5/29/2012
6.2.0 800 5/7/2012
6.1.0 818 3/28/2012
6.0.0 798 3/2/2012
5.9.0.1 823 2/16/2012
5.9.0 1,262 2/16/2012
Show less