Aspose.Slides.NET 15.1.0

.NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Slides.NET -Version 15.1.0
dotnet add package Aspose.Slides.NET --version 15.1.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.Slides.NET, 15.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 Versions
.NET Framework net20 net35 net35-client net40 net40-client net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Aspose.Slides.NET:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

Verify.Aspose The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Extends Verify (https://github.com/VerifyTests/Verify) to allow verification via Aspose.

MyComponentLibrary

LLN

Conholdate.Total

Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.

Aspose.ApprovalTests

Extends ApprovalTests to allow approval via Aspose.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
22.6.0 245 6/24/2022
22.5.0 12,817 5/17/2022
22.4.0 20,513 4/15/2022
22.3.0 16,386 3/17/2022
22.2.0 23,299 2/16/2022
22.1.0 33,120 1/19/2022
21.12.0 17,919 12/17/2021
21.11.0 31,854 11/16/2021
21.10.0 28,854 10/7/2021
21.9.0 63,895 9/20/2021
21.8.0 56,472 8/16/2021
21.7.0 37,701 7/15/2021
21.6.0 16,180 6/17/2021
21.5.0 18,662 5/18/2021
21.4.0 60,345 4/18/2021
21.3.0 37,239 3/19/2021
21.2.0 39,583 2/16/2021
21.1.0 62,000 1/21/2021
20.12.0 50,671 12/10/2020
20.11.1 2,238 12/10/2020
20.11.0 59,569 12/23/2020
20.10.0 35,799 10/19/2020
20.9.0 13,719 9/25/2020
20.8.0 42,441 8/17/2020
20.7.0 23,739 7/17/2020
20.6.0 38,052 6/12/2020
20.5.0 31,175 5/7/2020
20.4.0 20,951 4/22/2020
20.3.0 22,680 3/23/2020
20.2.0 45,467 2/17/2020
20.1.0 38,310 1/17/2020
19.12.0 37,863 12/31/2019
19.11.0 36,134 11/27/2019
19.10.0 41,017 10/29/2019
19.9.0 38,554 9/12/2019
19.8.0 8,532 8/30/2019
19.7.0 30,194 7/26/2019
19.6.0 14,248 6/25/2019
19.5.0 14,242 5/31/2019
19.4.0 24,691 4/26/2019
19.3.0 8,576 4/3/2019
19.2.0 17,517 2/28/2019
19.1.0 73,541 1/30/2019
18.12.0 24,651 12/27/2018
18.11.0 13,324 11/30/2018
18.10.0 45,180 10/30/2018
18.9.0 8,077 9/30/2018
18.8.0 10,889 8/29/2018
18.7.0 21,059 7/27/2018
18.6.0 29,722 7/1/2018
18.5.0 11,821 5/30/2018
18.4.0 17,358 5/3/2018
18.3.0 11,129 4/1/2018
18.2.1 42,850 3/7/2018
18.2.0 8,207 2/28/2018
18.1.0 18,138 1/30/2018
17.12.1 10,411 12/26/2017
17.12.0 1,459 12/16/2017
17.11.0 4,013 11/30/2017
17.10.0 10,730 10/31/2017
17.9.1 4,489 10/12/2017
17.9.0 3,548 10/2/2017
17.8.0 26,265 8/30/2017
17.7.0 8,166 7/31/2017
17.6.0 5,991 7/1/2017
17.5.0 4,346 5/31/2017
17.4.0 5,123 4/28/2017
17.3.0 7,856 4/2/2017
17.2.0 23,398 3/1/2017
17.1.0 4,338 1/31/2017
16.12.1 10,270 1/16/2017
16.12.0 2,769 12/27/2016
16.11.0 4,473 11/30/2016
16.10.0 8,899 11/4/2016
16.9.0 4,814 10/12/2016
16.8.0 15,076 9/27/2016
16.7.0 2,321 8/22/2016
16.6.0 36,008 7/15/2016
16.5.0 7,256 6/16/2016
16.4.0 4,965 5/16/2016
16.3.0 15,703 4/11/2016
16.2.0 5,866 3/17/2016
16.1.0 13,011 2/4/2016
15.11.0 16,687 1/11/2016
15.10.0 10,329 12/10/2015
15.9.0 6,681 11/6/2015
15.8.1 1,539 10/16/2015
15.8.0 2,232 10/5/2015
15.7.0 13,728 9/3/2015
15.6.0 20,297 7/22/2015
15.5.0 4,360 6/16/2015
15.4.0 4,022 5/14/2015
15.3.1 2,062 4/23/2015
15.3.0 1,382 4/14/2015
15.2.0 28,506 3/6/2015
15.1.0 5,640 2/3/2015
14.10.0 7,271 11/28/2014
14.9.0 2,433 11/11/2014
14.8.1 2,092 10/24/2014
14.8.0 1,301 10/16/2014
14.7.0 2,556 9/7/2014
14.6.0 2,177 8/6/2014
14.5.0 4,381 7/16/2014
14.4.0 2,445 6/2/2014
14.3.0 3,444 5/6/2014
14.2.0 1,906 3/24/2014
14.1.2 2,676 2/17/2014
14.1.1 1,450 2/10/2014
14.1.0.2 1,370 2/6/2014
13.12.0 2,322 12/30/2013
8.4.2 23,967 6/5/2014
8.4.1 1,869 5/6/2014
8.4.0 1,652 3/3/2014
8.3.0.1 1,357 2/3/2014
8.2.0 1,330 12/27/2013
8.1.0 8,023 12/16/2013
8.0.0 2,407 10/25/2013
7.9.0 1,742 10/8/2013
7.8.0 1,361 9/3/2013
7.7.0 8,969 8/4/2013
7.6.0 3,036 7/5/2013
7.5.0 4,027 5/27/2013
7.4.0 8,176 4/24/2013
7.3.0 1,440 4/10/2013
7.2.0 1,958 3/8/2013
7.1.0 3,770 1/28/2013
7.0.0 2,377 12/31/2012
6.9.0 1,419 12/10/2012
6.8.0 1,663 10/30/2012
6.7.0 2,011 10/4/2012
6.6.0 1,398 9/13/2012
6.5.0 1,562 7/27/2012
6.4.0 1,390 6/27/2012
6.3.0 1,342 5/29/2012
6.2.0 1,449 5/7/2012
6.1.0 1,399 3/28/2012
6.0.0 1,408 3/2/2012
5.9.0.1 3,589 2/16/2012
5.9.0 2,644 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();