Aspose.Slides.NET 15.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Slides.NET --version 15.1.0                
NuGet\Install-Package Aspose.Slides.NET -Version 15.1.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="15.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Slides.NET --version 15.1.0                
#r "nuget: Aspose.Slides.NET, 15.1.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=15.1.0

// Install Aspose.Slides.NET as a Cake Tool
#tool nuget:?package=Aspose.Slides.NET&version=15.1.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 2 6/23/2023
23.4.0 2 4/20/2023
21.6.0 4 6/17/2021
21.2.0 10 3/11/2021
15.3.1 415 4/23/2015
15.3.0 214 4/14/2015
15.2.0 924 3/6/2015
15.1.0 305 2/3/2015
14.10.0 1,030 11/28/2014
14.9.0 574 11/11/2014
14.8.1 642 10/24/2014
14.8.0 210 10/16/2014
14.7.0 921 9/7/2014
14.6.0 622 8/6/2014
14.5.0 358 7/16/2014
14.4.0 702 6/2/2014
14.3.0 302 5/6/2014
14.2.0 181 3/24/2014
14.1.2 167 2/17/2014
14.1.1 113 2/10/2014
14.1.0.2 114 2/6/2014
13.12.0 198 12/30/2013
8.4.2 251 6/5/2014
8.4.1 157 5/6/2014
8.4.0 121 3/3/2014
8.3.0.1 126 2/3/2014
8.2.0 115 12/27/2013
8.1.0 2,042 12/16/2013
8.0.0 177 10/25/2013
7.9.0 155 10/8/2013
7.8.0 128 9/3/2013
7.7.0 133 8/4/2013
7.6.0 129 7/5/2013
7.5.0 131 5/27/2013
7.4.0 2,335 4/24/2013
7.3.0 117 4/10/2013
7.2.0 134 3/8/2013
7.1.0 135 1/28/2013
7.0.0 131 12/31/2012
6.9.0 123 12/10/2012
6.8.0 116 10/30/2012
6.7.0 167 10/4/2012
6.6.0 125 9/13/2012
6.5.0 125 7/27/2012
6.4.0 123 6/27/2012
6.3.0 117 5/29/2012
6.2.0 121 5/7/2012
6.1.0 123 3/28/2012
6.0.0 122 3/2/2012
5.9.0.1 115 2/16/2012
5.9.0 126 2/16/2012

Major Changes

- SLIDESNET-35615 - FontEntity class alternate / implementation in the latest version of Aspose.Slides

Minor Changes

- SLIDESNET-35204 - Support to remove macros in presentation
- SLIDESNET-35092 - Feature to Convert SmartArt Shapes to Image
- SLIDESNET-35067 - Feature to Join PortionEx with Same Formatting
- SLIDESNET-34980 - Feature to Convert Shape to Image is required in Presentation files
- SLIDESNET-34787 - Extract audio used in SlideShowTransitions
- SLIDESNET-29249 - Using Aspose.Slides as COM Interop DLL
- SLIDESNET-19406 - Serialization for ShapesEx
- SLIDESNET-12643 - Macros detection / removal in presentations
- SLIDESNET-3710 - Serialization of Group Shapes
- SLIDESNET-28206 - Implement PresentationVisitor
- SLIDESNET-12540 - Paragraph.BulletOffset has no effect

Other Improvements and Changes
Bug Fixes

- SLIDESNET-36060 - NullReference exception on opening presentaiton
- SLIDESNET-36038 - Hebrew text alignment is disturbed in generated PDF
- SLIDESNET-36037 - External Hyperlink gets changed in Aspose.Slides saved presentation
- SLIDESNET-36031 - Argument exception thrown on accessing presentation
- SLIDESNET-36023 - Bullets are wrongly rendered in generated thumbnail
- SLIDESNET-36014 - Images missing in generated HTML
- SLIDESNET-36012 - PowerPoint stops working with an error when a PPTX resaved from a PPT is opened
- SLIDESNET-36007 - Exception: Preset number idx doesn't exist - when cloning slides in presentation file
- SLIDESNET-36004 - Exception: Preset number idx doesn't exist - when saviing the presentation file
- SLIDESNET-35989 - Harlow-Solid-Italic font failed to render in generated thumbnails
- SLIDESNET-35987 - The chart and Table placeholder return AutoShape as shape type for selected shape
- SLIDESNET-35978 - System.Exception is thrown on cloning the presentation file
- SLIDESNET-35975 - Content in the output presentation file is overflowing when importing HTML to PPTX
- SLIDESNET-35974 - Bullets getting changed in the output presentation file when importing HTML to PPTX
- SLIDESNET-35971 - FileNotFound exception when loading a presentation from a valid path
- SLIDESNET-35957 - Object reference not set to an instance of an object Exception is thrown on opening the PPTX file
- SLIDESNET-35956 - X-axis values are improperly rendered in generated thumbnail
- SLIDESNET-35955 - PptxUnsupportedFormatException: Encrypted presentations are not supported when loading the PPT
- SLIDESNET-35951 - Unable to edit chart data after creating a new chart in presentation file
- SLIDESNET-35949 - The contents are getting overlapped in the generated PDF file
- SLIDESNET-35944 - ArgumentOutOfRangeException is thrown on opening the PPT file
- SLIDESNET-35941 - Graph is not rendering properly from PPTX to Image conversion
- SLIDESNET-35940 - Graph is not rendering properly from PPTX to PDF
- SLIDESNET-35939 - LineWidth must return NaN on accessing the presentation shape
- SLIDESNET-35932 - Aspose.Slides chart failed to edit in PowerPoint
- SLIDESNET-35929 - Password protected PPTX presentaiton failed to open
- SLIDESNET-35927 - Legend keys appear on thumbnail
- SLIDESNET-35926 - Wrong font color of legend
- SLIDESNET-35925 - Wrong background color on the chart
- SLIDESNET-35923 - Presentation repair message appears for Aspose.Slides cloned presentation
- SLIDESNET-35919 - Shape shadow property gets changed during cloning presentation slides
- SLIDESNET-35914 - PPTX file fails to open when polynomial trendline are set to order 2
- SLIDESNET-35904 - Wrong merged cell border
- SLIDESNET-35886 - ArgumentOutOfRangeException exception on cloning presentation slides
- SLIDESNET-35884 - NullPointerException thrown while opening the PPT file
- SLIDESNET-35873 - Adding chart Series/Categories makes chart uneditable in PowerPoint
- SLIDESNET-35863 - Bullets are not properly rendered in generated PDF
- SLIDESNET-35839 - Wrong lables text and position in the generated PDF file
- SLIDESNET-35814 - Chart Title not coming fine after conversion to PDF
- SLIDESNET-35761 - Table Rows are connecting with other table in generated PDF file.
- SLIDESNET-35758 - Unknown file format exception on opening the PPT file
- SLIDESNET-35717 - PPTX to PDF: Chart labels are blurry
- SLIDESNET-35690 - Improper vertical axis rendering in generated PDF
- SLIDESNET-35689 - Chart plot area fill color is missing when converting PPTX to PDF
- SLIDESNET-35664 - Exception on generating XPS using Aspose.Slides
- SLIDESNET-35661 - Unexpected font parsing exception when opening PPTX file
- SLIDESNET-35649 - Text has wrong position after cloning     14.10.0, 15.1.0
- SLIDESNET-35566 - Exception on saving cloned presentation as PPT
- SLIDESNET-35562 - Wrong fill color of chart's plot area
- SLIDESNET-35543 - Unexpected font parsing exception on loading presentations
- SLIDESNET-35521 - Chart failed to get edited in PowerPoint when updated using Aspose.Slides
- SLIDESNET-35480 - Ole frame failed to open after data is modified using Aspose.Slides and Aspose.Cells
- SLIDESNET-35446 - Red Box doesn't fit around the text correctly after conversion to PDF
- SLIDESNET-35287 - The generated PDF give error message on generating PDF
- SLIDESNET-34992 - Text inside table overlaps the footer text in generated thumbnail
- SLIDESNET-34936 - Slide background fill effect "From title" is processed incorrectly
- SLIDESNET-34768 - Object resized after presentation saving
- SLIDESNET-34135 - Hyperlink color is improperly rendered in generated thumbnail
- SLIDESNET-34109 - SmartArt shapes getting corrupted on saving the presentation
- SLIDESNET-33745 - Graphics distortion in thumbnail
- SLIDESNET-29128 - Conversion from PPTX to PPT, PPS and PDF
- SLIDESNET-24860 - Create TIF file with first x page
- SLIDESNET-24385 - Aspose.Slides Inter Operation with COM
- SLIDESNET-23799 - PDF generation takes immense resources and too heavy when opened
- SLIDESNET-18109 - Serializatiion in PPTX
- SLIDESNET-11407 - SmartArt rendering issue

Public API Chages
Fonts substitutions functinality has been added

Possibility to replace font globally across the presentation and temporary for rendering has been added.

New property "FontsManager" of Presentation class has been introduced. FontsManager class has following members:

IFontSubstRuleCollection FontSubstRuleList Property

This collection of IFontSubstRule instances using to substitute fonts during rendering. IFontSubstRule has SourceFont and DestFont properties implementing IFontData interface and ReplaceFontCondition property allowing to choose condition of replacement ("WhenInaccessible" or "Always").

IFontData[] GetFonts() Method

Using to retrieve all fonts uisng in the current presentation.

ReplaceFont Methods

Using to persistently replace font in the presentation.

The following example shows how to replace font in the presentation:

   Presentation pres = new Presentation("PresContainsArialFont.pptx");

   IFontData sourceFont = new FontData("Arial");
   IFontData destFont = new FontData("Times New Roman");
   pres.FontsManager.ReplaceFont(sourceFont, destFont);

   pres.Save("PresContainsTimesNoewRomanFont.pptx", SaveFormat.Pptx);

Another example, demonstrates font substitution for rendering when inaccessible:

   Presentation pres = new Presentation("PresContainsSomeRareFontFont.pptx");

   IFontData sourceFont = new FontData("SomeRareFont");
   IFontData destFont = new FontData("Arial");

   IFontSubstRule fontSubstRule = new FontSubstRule(
       sourceFont, destFont, FontSubstCondition.WhenInaccessible);

   IFontSubstRuleCollection fontSubstRuleCollection = new FontSubstRuleCollection();
   fontSubstRuleCollection.Add(fontSubstRule);

   pres.FontsManager.FontSubstRuleList = fontSubstRuleCollection;

   // Arial font will be used instead of SomeRareFont when inaccessible
   pres.Slides[0].GetThumbnail();