Aspose.Slides.NET 15.4.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.4.0
dotnet add package Aspose.Slides.NET --version 15.4.0
<PackageReference Include="Aspose.Slides.NET" Version="15.4.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.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.Slides.NET, 15.4.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.4.0

// Install Aspose.Slides.NET as a Cake Tool
#tool nuget:?package=Aspose.Slides.NET&version=15.4.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 656 6/24/2022
22.5.0 13,484 5/17/2022
22.4.0 21,217 4/15/2022
22.3.0 16,728 3/17/2022
22.2.0 23,641 2/16/2022
22.1.0 33,596 1/19/2022
21.12.0 18,316 12/17/2021
21.11.0 32,237 11/16/2021
21.10.0 29,145 10/7/2021
21.9.0 64,550 9/20/2021
21.8.0 57,035 8/16/2021
21.7.0 38,011 7/15/2021
21.6.0 16,230 6/17/2021
21.5.0 18,720 5/18/2021
21.4.0 60,707 4/18/2021
21.3.0 37,387 3/19/2021
21.2.0 39,676 2/16/2021
21.1.0 62,242 1/21/2021
20.12.0 50,729 12/10/2020
20.11.1 2,239 12/10/2020
20.11.0 59,818 12/23/2020
20.10.0 36,014 10/19/2020
20.9.0 13,815 9/25/2020
20.8.0 42,575 8/17/2020
20.7.0 23,861 7/17/2020
20.6.0 38,276 6/12/2020
20.5.0 31,487 5/7/2020
20.4.0 20,995 4/22/2020
20.3.0 22,754 3/23/2020
20.2.0 45,628 2/17/2020
20.1.0 38,511 1/17/2020
19.12.0 37,918 12/31/2019
19.11.0 36,207 11/27/2019
19.10.0 41,138 10/29/2019
19.9.0 38,694 9/12/2019
19.8.0 8,533 8/30/2019
19.7.0 30,219 7/26/2019
19.6.0 14,288 6/25/2019
19.5.0 14,244 5/31/2019
19.4.0 24,707 4/26/2019
19.3.0 8,582 4/3/2019
19.2.0 17,687 2/28/2019
19.1.0 73,556 1/30/2019
18.12.0 24,765 12/27/2018
18.11.0 13,349 11/30/2018
18.10.0 45,198 10/30/2018
18.9.0 8,095 9/30/2018
18.8.0 10,904 8/29/2018
18.7.0 21,078 7/27/2018
18.6.0 29,732 7/1/2018
18.5.0 11,825 5/30/2018
18.4.0 17,450 5/3/2018
18.3.0 11,179 4/1/2018
18.2.1 42,863 3/7/2018
18.2.0 8,225 2/28/2018
18.1.0 18,207 1/30/2018
17.12.1 10,431 12/26/2017
17.12.0 1,466 12/16/2017
17.11.0 4,024 11/30/2017
17.10.0 10,781 10/31/2017
17.9.1 4,496 10/12/2017
17.9.0 3,552 10/2/2017
17.8.0 26,278 8/30/2017
17.7.0 8,173 7/31/2017
17.6.0 6,004 7/1/2017
17.5.0 4,348 5/31/2017
17.4.0 5,130 4/28/2017
17.3.0 7,865 4/2/2017
17.2.0 23,449 3/1/2017
17.1.0 4,345 1/31/2017
16.12.1 10,299 1/16/2017
16.12.0 2,771 12/27/2016
16.11.0 4,476 11/30/2016
16.10.0 8,909 11/4/2016
16.9.0 4,817 10/12/2016
16.8.0 15,155 9/27/2016
16.7.0 2,328 8/22/2016
16.6.0 36,048 7/15/2016
16.5.0 7,272 6/16/2016
16.4.0 4,967 5/16/2016
16.3.0 15,710 4/11/2016
16.2.0 5,869 3/17/2016
16.1.0 13,028 2/4/2016
15.11.0 16,719 1/11/2016
15.10.0 10,333 12/10/2015
15.9.0 6,688 11/6/2015
15.8.1 1,541 10/16/2015
15.8.0 2,234 10/5/2015
15.7.0 13,945 9/3/2015
15.6.0 20,336 7/22/2015
15.5.0 4,367 6/16/2015
15.4.0 4,032 5/14/2015
15.3.1 2,089 4/23/2015
15.3.0 1,384 4/14/2015
15.2.0 28,527 3/6/2015
15.1.0 5,646 2/3/2015
14.10.0 7,322 11/28/2014
14.9.0 2,440 11/11/2014
14.8.1 2,094 10/24/2014
14.8.0 1,303 10/16/2014
14.7.0 2,563 9/7/2014
14.6.0 2,184 8/6/2014
14.5.0 4,384 7/16/2014
14.4.0 2,447 6/2/2014
14.3.0 3,449 5/6/2014
14.2.0 1,908 3/24/2014
14.1.2 2,683 2/17/2014
14.1.1 1,457 2/10/2014
14.1.0.2 1,372 2/6/2014
13.12.0 2,324 12/30/2013
8.4.2 23,999 6/5/2014
8.4.1 1,876 5/6/2014
8.4.0 1,660 3/3/2014
8.3.0.1 1,364 2/3/2014
8.2.0 1,332 12/27/2013
8.1.0 8,025 12/16/2013
8.0.0 2,409 10/25/2013
7.9.0 1,744 10/8/2013
7.8.0 1,363 9/3/2013
7.7.0 9,011 8/4/2013
7.6.0 3,062 7/5/2013
7.5.0 4,029 5/27/2013
7.4.0 8,183 4/24/2013
7.3.0 1,447 4/10/2013
7.2.0 1,965 3/8/2013
7.1.0 3,772 1/28/2013
7.0.0 2,390 12/31/2012
6.9.0 1,426 12/10/2012
6.8.0 1,670 10/30/2012
6.7.0 2,013 10/4/2012
6.6.0 1,400 9/13/2012
6.5.0 1,569 7/27/2012
6.4.0 1,397 6/27/2012
6.3.0 1,344 5/29/2012
6.2.0 1,451 5/7/2012
6.1.0 1,401 3/28/2012
6.0.0 1,410 3/2/2012
5.9.0.1 3,606 2/16/2012
5.9.0 2,647 2/16/2012

Aspose.Slides for .NET 15.4.0 Release Notes
Major Changes

   SLIDESNET-31745 - Connectors layouting

Minor Changes

   SLIDESNET-36224 - Unique IDs for symbol id for pictures is needed when exporting slides with images to HTML
   SLIDESNET-35359 - Presentation.GetSlideByID() missing in Aspose.Slides
   SLIDESNET-33702 - Saving presentation in different slide view types
   SLIDESNET-17922 - Splitting table cells
   SLIDESNET-36285 - Implement serialization and deserialization of embedded fonts for PPT
   SLIDESNET-35273 - Implement SmartArt customization
   SLIDESNET-13794 - Consistency in DocumentProperties

Other Improvements and Changes
Bug Fixes

   SLIDESNET-36419 - Template Name property missing in Document Properties
   SLIDESNET-36392 - SlideCollection.ResetEffectiveFormat throws NullReferenceException
   SLIDESNET-36390 - PowerPoint craches on playing presentation with embedded video, 15.5.0
   SLIDESNET-36363 - DateTimeInvalid Local format exception is thrown on saving presentation
   SLIDESNET-36359 - Slide notes failed to get added in presentation
   SLIDESNET-36358 - Strikethrough is appearing thick in generated thumbnail and pdf
   SLIDESNET-36357 - Inverse mapping of RotationX and RotationY in Rotation3D Members.
   SLIDESNET-36355 - FontHeight changing does not work
   SLIDESNET-36350 - PowerPoint shows a repair request when a presentation generated with Aspose.Slides is opened
   SLIDESNET-36336 - Issue with Bullets in pptx and ppt
   SLIDESNET-36332 - Error Bars are missing in generated thumbnail
   SLIDESNET-36322 - Presentation repair message pops on saving the presentation.
   SLIDESNET-36316 - Portion format returns wrong font names
   SLIDESNET-36311 - Chart labels and legends gets disturbed in generated PDF
   SLIDESNET-36310 - Chart labels and legends gets disturbed in saved presentation
   SLIDESNET-36309 - Slide background image gets jagged pdf.
   SLIDESNET-36308 - Text size is not reduced when TextAutoFitType.Normal is used for slide textframe
   SLIDESNET-36307 - Absurd memory usage in GetThumbnail() for simple slide with log scale
   SLIDESNET-36306 - Custom document properties are not accessible using Aspose.Slides
   SLIDESNET-36299 - Input string was not in the correct format exception on adding HTML to text frame
   SLIDESNET-36298 - Missed shapes in generated Html
   SLIDESNET-36296 - Null Reference exception on cloning row in side the table
   SLIDESNET-36295 - Presentation repair message on saving presentation with video
   SLIDESNET-36294 - Wrong logo image rendering in generated thumbnail
   SLIDESNET-36284 - Font size for text changed in Aspose.Slides saved presentation
   SLIDESNET-36277 - Chart Series Markers and lines are improperly rendered in generated thumbnail
   SLIDESNET-36276 - Charts axis labels are improperly rendered in thumbnails
   SLIDESNET-36267 - Error on opening PPT file
   SLIDESNET-36254 - Pptx exception thrown on accessing presentation
   SLIDESNET-36223 - Presentation with WordArt generate corrupt PDF
   SLIDESNET-36212 - WordArt effect are lost on text when saving the presentation
   SLIDESNET-36106 - Presentation gets corrupt when opened in PowerPoint 2007
   SLIDESNET-35602 - Save method required to dynamically pass Save Format
   SLIDESNET-35474 - Chart category axis is improperly rendered in generated thumbnail
   SLIDESNET-33772 - The presentation size grows after slide cloning
   SLIDESNET-33655 - ArgumentException thrown on generating the slide thumbnail in Mono MAC environment
   SLIDESNET-32649 - Text converted to image while converting PPT to PPTX
   SLIDESNET-12585 - Unsupported Brush Type Exception on PPTX to PDF
   SLIDESNET-3681 - Accessing objects on the notes page view

Public API Changes
Enum OrganizationChartLayoutType has been added
The Aspose.Slides.SmartArt.OrganizationChartLayoutType enum represents formatting type the child nodes in an organization chart.
Method IBulletFormat.ApplyDefaultParagraphIndentsShifts has been added
Method Aspose.Slides.IBulletFormat.ApplyDefaultParagraphIndentsShifts sets default non-zero shifts for effective paragraph Indent and MarginLeft when bullets is enabled (like PowerPoint do if enable paragraph bullets/numbering in it). If bullets is disabled then just reset paragraph Indent and MarginLeft (like PowerPoint do if disable paragraph bullets/numbering in it).
See examples http://www.aspose.com/docs/display/slidesnet/Managing+Paragraph+Bullets+in+PPTX
Method IConnector.Reroute has been added
Method Aspose.Slides.IConnector.Reroute reroutes connector so that it take the shortest possible path between the shapes it connect. To do this, the Reroute() method may change the StartShapeConnectionSiteIndex and EndShapeConnectionSiteIndex.

using(Presentation input = new Presentation())
{
 IShapeCollection shapes = input.Slides[0].Shapes;
 IConnector connector = shapes.AddConnector(ShapeType.BentConnector2, 0, 0, 10, 10);
 IAutoShape ellipse = shapes.AddAutoShape(ShapeType.Ellipse, 0, 100, 100, 100);
 IAutoShape rectangle = shapes.AddAutoShape(ShapeType.Rectangle, 100, 300, 100, 100);
 connector.StartShapeConnectedTo = ellipse;
 connector.EndShapeConnectedTo = rectangle;
 connector.Reroute();
 input.Save("output.pptx", SaveFormat.Pptx);
}

Method IPresentation.GetSlideById has been added
Method Aspose.Slides.IPresentation.GetSlideById(System.UInt32) returns a Slide, MasterSlide or LayoutSlide by slide Id.

using (Presentation presentation = new Presentation())
{
   uint id = presentation.Slides[0].SlideId;
   IBaseSlide slide = presentation.GetSlideById(id);
   Debug.Assert(presentation.Slides[0] == slide);
}

Property IShape.ConnectionSiteCount has been added
Property Aspose.Slides.IShape.ConnectionSiteCount returns the number of connection sites on the shape.

using(Presentation input = new Presentation())
{
 IShapeCollection shapes = input.Slides[0].Shapes;
 IConnector connector = shapes.AddConnector(ShapeType.BentConnector2, 0, 0, 10, 10);
 IAutoShape ellipse = shapes.AddAutoShape(ShapeType.Ellipse, 0, 100, 100, 100);
 IAutoShape rectangle = shapes.AddAutoShape(ShapeType.Rectangle, 100, 200, 100, 100);
 connector.StartShapeConnectedTo = ellipse;
 connector.EndShapeConnectedTo = rectangle;

 uint wantedIndex = 6;
 if (ellipse.ConnectionSiteCount > wantedIndex)
 {
   connector.StartShapeConnectionSiteIndex = wantedIndex;
 }
 input.Save("output.pptx", SaveFormat.Pptx);
}

Property ISmartArt.IsReversed has been added
Property Aspose.Slides.SmartArt.ISmartArt.IsReversed allows get or sets the state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal.

using (Presentation pres = new Presentation())
{
 ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicProcess);
 smart.IsReversed = true;
 pres.Save("out.pptx", Export.SaveFormat.Pptx);
}

Property ISmartArt.Nodes has been added
Property Aspose.Slides.SmartArt.ISmartArt.Nodes returns collection of root nodes in SmartArt object.

using (Presentation pres = new Presentation())
{
 ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(10, 10, 400, 300, SmartArtLayoutType.VerticalBulletList);
 ISmartArtNode node = smart.Nodes[1]; // select second root node
 node.TextFrame.Text = "Second root node";
 pres.Save("out.pptx", Export.SaveFormat.Pptx);
}

Property ISmartArtNode.IsHidden has been added
Property Aspose.Slides.SmartArt.ISmartArtNode.IsHidden returns true if this node is a hidden node in the data model.

using (Presentation pres = new Presentation())
{
 ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(10, 10, 400, 300, SmartArtLayoutType.RadialCycle);
 ISmartArtNode node = smart.AllNodes.AddNode();
 bool hidden = node.IsHidden; //returns true
 if(hidden)
 {
   //do some actions or notifications
 }
 pres.Save("out.pptx", Export.SaveFormat.Pptx);
}

Property ISmartArtNode.OrganizationChartLayout has been added
Property Aspose.Slides.SmartArt.ISmartArtNode.OrganizationChartLayout allows get or sets organization chart type assosiated with current node.

using (Presentation pres = new Presentation())
{
 ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(10, 10, 400, 300, SmartArtLayoutType.OrganizationChart);
 smart.Nodes[0].OrganizationChartLayout = OrganizationChartLayoutType.LeftHanging;
 pres.Save("out.pptx", Export.SaveFormat.Pptx);
}

Set method for property ISmartArt.Layout has been added
The set method for property Aspose.Slides.SmartArt.ISmartArt.Layout has been added.It allows change layout type of an existing diagram.

using (Presentation pres = new Presentation())
{
 ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicBlockList);
 smart.Layout = SmartArtLayoutType.BasicProcess;
 pres.Save("out.pptx", Export.SaveFormat.Pptx);
}

Minor API changes
This is the list of minor API changes:
Enum Aspose.Slides.BevelColorMode - deleted, unused enum
Property ThreeDFormatEffectiveData.BevelColorMode - deleted, unused property
Property Aspose.Slides.Charts.ChartSeriesGroup.Chart, Property Aspose.Slides.Charts.IChartSeriesGroup.AsIChartComponent - added Property Aspose.Slides.IParagraphFormatEffectiveData.AsISlideComponent, Inheritance of IParagraphFormatEffectiveData from ISlideComponent, Property Aspose.Slides.IThreeDFormat.AsISlideComponent, Inheritance of IThreeDFormat from ISlideComponent - deleted Property Aspose.Slides.ParagraphFormatEffectiveData.BulletChar, Property Aspose.Slides.ParagraphFormatEffectiveData.BulletFont, Property Aspose.Slides.ParagraphFormatEffectiveData.BulletHeight, Property Aspose.Slides.ParagraphFormatEffectiveData.BulletType, Property Aspose.Slides.ParagraphFormatEffectiveData.NumberedBulletStartWith, Property Aspose.Slides.ParagraphFormatEffectiveData.NumberedBulletStyle - deleted as obsolete