Aspose.Slides.NET 15.1.0

Aspose.Slides for .NET

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 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.

Release Notes

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();

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
19.6.0 1,135 6/25/2019
19.5.0 2,323 5/31/2019
19.4.0 3,580 4/26/2019
19.3.0 2,259 4/3/2019
19.2.0 6,253 2/28/2019
19.1.0 7,008 1/30/2019
18.12.0 4,254 12/27/2018
18.11.0 3,621 11/30/2018
18.10.0 10,748 10/30/2018
18.9.0 3,164 9/30/2018
18.8.0 3,462 8/29/2018
18.7.0 9,242 7/27/2018
18.6.0 10,119 7/1/2018
18.5.0 5,575 5/30/2018
18.4.0 2,418 5/3/2018
18.3.0 3,094 4/1/2018
18.2.1 3,508 3/7/2018
18.2.0 1,894 2/28/2018
18.1.0 2,887 1/30/2018
17.12.1 4,826 12/26/2017
17.12.0 808 12/16/2017
17.11.0 1,279 11/30/2017
17.10.0 3,975 10/31/2017
17.9.1 3,458 10/12/2017
17.9.0 1,411 10/2/2017
17.8.0 9,308 8/30/2017
17.7.0 6,096 7/31/2017
17.6.0 2,225 7/1/2017
17.5.0 1,996 5/31/2017
17.4.0 2,566 4/28/2017
17.3.0 2,965 4/2/2017
17.2.0 7,239 3/1/2017
17.1.0 3,133 1/31/2017
16.12.1 3,144 1/16/2017
16.12.0 1,531 12/27/2016
16.11.0 2,344 11/30/2016
16.10.0 2,317 11/4/2016
16.9.0 2,938 10/12/2016
16.8.0 2,876 9/27/2016
16.7.0 1,502 8/22/2016
16.6.0 16,157 7/15/2016
16.5.0 3,113 6/16/2016
16.4.0 3,347 5/16/2016
16.3.0 7,802 4/11/2016
16.2.0 4,260 3/17/2016
16.1.0 5,860 2/4/2016
15.11.0 9,155 1/11/2016
15.10.0 9,180 12/10/2015
15.9.0 5,466 11/6/2015
15.8.1 913 10/16/2015
15.8.0 1,208 10/5/2015
15.7.0 3,139 9/3/2015
15.6.0 7,102 7/22/2015
15.5.0 2,684 6/16/2015
15.4.0 1,798 5/14/2015
15.3.1 1,001 4/23/2015
15.3.0 665 4/14/2015
15.2.0 8,679 3/6/2015
15.1.0 1,221 2/3/2015
14.10.0 4,567 11/28/2014
14.9.0 1,479 11/11/2014
14.8.1 1,379 10/24/2014
14.8.0 620 10/16/2014
14.7.0 1,823 9/7/2014
14.6.0 1,129 8/6/2014
14.5.0 3,069 7/16/2014
14.4.0 1,741 6/2/2014
14.3.0 1,956 5/6/2014
14.2.0 1,136 3/24/2014
14.1.2 1,545 2/17/2014
14.1.1 619 2/10/2014
14.1.0.2 537 2/6/2014
13.12.0 1,475 12/30/2013
8.4.2 4,491 6/5/2014
8.4.1 1,130 5/6/2014
8.4.0 757 3/3/2014
8.3.0.1 645 2/3/2014
8.2.0 592 12/27/2013
8.1.0 4,872 12/16/2013
8.0.0 1,622 10/25/2013
7.9.0 986 10/8/2013
7.8.0 709 9/3/2013
7.7.0 2,967 8/4/2013
7.6.0 777 7/5/2013
7.5.0 1,015 5/27/2013
7.4.0 7,296 4/24/2013
7.3.0 802 4/10/2013
7.2.0 1,028 3/8/2013
7.1.0 3,107 1/28/2013
7.0.0 829 12/31/2012
6.9.0 778 12/10/2012
6.8.0 845 10/30/2012
6.7.0 1,101 10/4/2012
6.6.0 708 9/13/2012
6.5.0 821 7/27/2012
6.4.0 738 6/27/2012
6.3.0 664 5/29/2012
6.2.0 707 5/7/2012
6.1.0 731 3/28/2012
6.0.0 703 3/2/2012
5.9.0.1 722 2/16/2012
5.9.0 1,122 2/16/2012
Show less