Aspose.Slides.NET 14.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Slides.NET --version 14.9.0
NuGet\Install-Package Aspose.Slides.NET -Version 14.9.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Slides.NET" Version="14.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 14.9.0
#r "nuget: Aspose.Slides.NET, 14.9.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Slides.NET as a Cake Addin
#addin nuget:?package=Aspose.Slides.NET&version=14.9.0

// Install Aspose.Slides.NET as a Cake Tool
#tool nuget:?package=Aspose.Slides.NET&version=14.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.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net35-client is compatible.  net40 was computed.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
23.6.0 1 6/23/2023
23.4.0 1 4/20/2023
21.6.0 2 6/17/2021
21.2.0 8 3/11/2021
15.3.1 414 4/23/2015
15.3.0 212 4/14/2015
15.2.0 923 3/6/2015
15.1.0 304 2/3/2015
14.10.0 1,028 11/28/2014
14.9.0 573 11/11/2014
14.8.1 641 10/24/2014
14.8.0 208 10/16/2014
14.7.0 920 9/7/2014
14.6.0 620 8/6/2014
14.5.0 357 7/16/2014
14.4.0 701 6/2/2014
14.3.0 310 5/6/2014
14.2.0 187 3/24/2014
14.1.2 175 2/17/2014
14.1.1 123 2/10/2014
14.1.0.2 113 2/6/2014
13.12.0 196 12/30/2013
8.4.2 260 6/5/2014
8.4.1 165 5/6/2014
8.4.0 128 3/3/2014
8.3.0.1 124 2/3/2014
8.2.0 113 12/27/2013
8.1.0 2,041 12/16/2013
8.0.0 176 10/25/2013
7.9.0 154 10/8/2013
7.8.0 127 9/3/2013
7.7.0 132 8/4/2013
7.6.0 128 7/5/2013
7.5.0 130 5/27/2013
7.4.0 2,334 4/24/2013
7.3.0 116 4/10/2013
7.2.0 133 3/8/2013
7.1.0 134 1/28/2013
7.0.0 130 12/31/2012
6.9.0 122 12/10/2012
6.8.0 115 10/30/2012
6.7.0 166 10/4/2012
6.6.0 124 9/13/2012
6.5.0 124 7/27/2012
6.4.0 122 6/27/2012
6.3.0 115 5/29/2012
6.2.0 120 5/7/2012
6.1.0 122 3/28/2012
6.0.0 120 3/2/2012
5.9.0.1 114 2/16/2012
5.9.0 124 2/16/2012

Aspose.Slides for .NET 14.9.0 Release Notes
We are pleased to announce the release of Aspose.Slides for .NET 14.9.0. This release includes new functionality and bug fixes.

Using Aspose.Slides for .NET you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using
Microsoft PowerPoint.

Visit the documentation to learn how to <a href="http://www.aspose.com/docs/display/slidesnet/Getting+Started"> get started with Aspose.Slides for .NET.

Note this download contains a fully working version of the product,
however without a license set it will run in evaluation mode. To test
Aspose.Slides without these evaluation limitations you can <a href="http://www.aspose.com/corporate/purchase/temporary-license.aspx"> request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.
Minor Changes

SLIDESNET-35803 - Convert a specific PPTX slide to PDF file
SLIDESNET-35708 - Setting Fill format for SmartArt node
SLIDESNET-35559 - Get warnings for Fonts substitution in Aspose.Slides
SLIDESNET-33196 - Support for setting the background color of individual nodes in SmartArt shape
SLIDESNET-35805 - Missing feature to replace image in presentation file in the new unified version
SLIDESNET-35588 - Implement animation timeline serialization to PPT

Other Improvements and Changes
Bug Fixes

SLIDESNET-35821 - The animations are not working properly in the generated PPTX file
SLIDESNET-35811 - Object reference not set to an instance of an object Exception is thrown on PPT to PDF conversion
SLIDESNET-35807 - NullReference exception on opening presentation
SLIDESNET-35782 - Text missing after PPTX presentation resaving
SLIDESNET-35774 - Border issue when opening and saving pptx Presentation
SLIDESNET-35720 - PPTX to PDF: Vertical axis scale is wrong
SLIDESNET-35715 - Unknown file format exception is thrown on opening PPT presentation
SLIDESNET-35710 - NullPointerException on exporting PPTX to PDF
SLIDESNET-35701 - Animation effects are lost after saving PPT
SLIDESNET-35696 - Pie Chart Series Labels are outside the chart in generated PNG
SLIDESNET-35692 - Embeddded videos lost in cloned presentaiton
SLIDESNET-35664 - Exception on generating XPS using Aspose.Slides
SLIDESNET-35624 - Resaving animations resets start/end markers
SLIDESNET-35569 - Image missing in generated PDF when exported using mono environment in Linux
SLIDESNET-35529 - Bullets are missing in exported PDF
SLIDESNET-35527 - Text getting overlapped and over sized in generated PDF
SLIDESNET-35526 - Extra bullets rendered in generated PDF
SLIDESNET-35455 - PPT password protected presentation reading throws an exception
SLIDESNET-35320 - PptxUnsupportedFormat Exception on loading password protect PPT presentation
SLIDESNET-35237 - Converting Slide to Thumbnail does not show the chart in converted file
SLIDESNET-35232 - Hidden Slide property issue for PPT file
SLIDESNET-34373 - The line links are missing for rendered smart art in generated PDF
SLIDESNET-35647 - Argument exception on generating PDF

Public API Changes
Inheritance from ICollection and generic IEnumerable interfaces have been added to ISmartArtNodeCollection

The class Aspose.Slides.SmartArt.SmartArtNodeCollection (and related interface  Aspose.Slides.SmartArt.ISmartArtNodeCollection) inherit generic interface IEnumerable<ISmartArtNode> and interface ICollection.
SmartArtLayoutType.Custom enum value has been added

This type of SmartArt layout represents diagram with custom template. Custom diagrams only can be loaded from presentation file and can't be created via method ShapeCollection.AddSmartArt(x, y, width, height, SmartArtLayoutType.Custom)
SmartArtShape class and ISmartArtShape interface have been added

The Aspose.Slides.SmartArt.SmartArtShape class (and its interface Aspose.Slides.SmartArt.ISmartArtShape) add access to individual shapes inside SmartArt diagram. SmartArtShape can be used to change FillFormat, LineFormat, adding Hyperlinks etc.

Note: SmartArtShape does not supported IShape properties RawFrame, Frame, Rotation, X, Y, Width, Height and thrown System.NotSupportedException when attempting to access them.

Example of usage:

using (Presentation pres = new Presentation())
{
 ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicBlockList);
 ISmartArtNode node = smart.AllNodes[0];
 foreach (SmartArtShape shape in node.Shapes)
 {
   shape.FillFormat.FillType = FillType.Solid;
   shape.FillFormat.SolidFillColor.Color = Color.Red;
 }
 pres.Save("out.pptx", Export.SaveFormat.Pptx);
}

SmartArtShapeCollection class, ISmartArtShapeCollection interface and ISmartArtNode.Shapes property have been added

The Aspose.Slides.SmartArt.SmartArtShapeCollection class (and its interface Aspose.Slides.SmartArt.ISmartArtShapeCollection) add access to individual shapes inside SmartArt diagram. Collection contains shapes associated with SmartArtNode. Property SmartArtNode.Shapes returns collections of all shapes associated with the node.

Note: depending of SmartArtLayoutType one SmartArtShape can be shared between several nodes.

using (Presentation pres = new Presentation())
{
 ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicBlockList);
 ISmartArtNode node = smart.AllNodes[0];
 foreach (SmartArtShape shape in node.Shapes)
 {
   shape.FillFormat.FillType = FillType.Solid;
   shape.FillFormat.SolidFillColor.Color = Color.Red;
 }
 pres.Save("out.pptx", Export.SaveFormat.Pptx);
}

Methods for saving presentation slides with page numbers keeping have been added

The following methods have been added:

void IPresentation.Save(string fname, int[] slides, SaveFormat format);

void IPresentation.Save(string fname, int[] slides, SaveFormat format, ISaveOption options);

void IPresentation.Save(Stream stream, int[] slides, SaveFormat format);

void IPresentation.Save(Stream stream, int[] slides, SaveFormat format, ISaveOption options);

These methods allow to save specified presentation slides to PDF, XPS, TIFF, HTML formats. The 'slides' array allows to specify page numbers, starting from 1.
Save(string fname, int[] slides, SaveFormat format);

Presentation presentation = new Presentation(presentationFileName);
int[] slides = new int[] { 2, 3, 5 }; //Array of slides positions
presentation.Save(outFileName, slides, SaveFormat.Pdf);

Methods for image replacing have been added to PPImage, IPPImage

New methods added:

IPPImage.ReplaceImage(byte[] newImageData)
IPPImage.ReplaceImage(Image newImage)
IPPImage.ReplaceImage(IPPImage newImage)

Presentation presentation = new Presentation(presentation.pptx);

//the first way
byte[] data = File.ReadAllBytes(image0.jpeg);
IPPImage oldImage = presentation.Images[0];
oldImage.ReplaceImage(data);

//the second way
Image newImage = Image.FromFile(image1.png);
oldImage = presentation.Images[1];
oldImage.ReplaceImage(newImage);

//the third way
oldImage = presentation.Images[2];
oldImage.ReplaceImage(presentation.Images[3]);

presentation.Save(presentation_out.pptx, SaveFormat.Pptx);