Aspose.Slides.NET 15.4.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.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.

Release Notes

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

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
19.6.0 910 6/25/2019
19.5.0 2,164 5/31/2019
19.4.0 3,493 4/26/2019
19.3.0 2,192 4/3/2019
19.2.0 6,193 2/28/2019
19.1.0 6,937 1/30/2019
18.12.0 4,190 12/27/2018
18.11.0 3,597 11/30/2018
18.10.0 10,651 10/30/2018
18.9.0 3,151 9/30/2018
18.8.0 3,453 8/29/2018
18.7.0 9,225 7/27/2018
18.6.0 9,987 7/1/2018
18.5.0 5,539 5/30/2018
18.4.0 2,350 5/3/2018
18.3.0 3,082 4/1/2018
18.2.1 3,503 3/7/2018
18.2.0 1,881 2/28/2018
18.1.0 2,879 1/30/2018
17.12.1 4,773 12/26/2017
17.12.0 807 12/16/2017
17.11.0 1,279 11/30/2017
17.10.0 3,959 10/31/2017
17.9.1 3,456 10/12/2017
17.9.0 1,405 10/2/2017
17.8.0 9,232 8/30/2017
17.7.0 6,093 7/31/2017
17.6.0 2,216 7/1/2017
17.5.0 1,994 5/31/2017
17.4.0 2,563 4/28/2017
17.3.0 2,963 4/2/2017
17.2.0 7,209 3/1/2017
17.1.0 3,130 1/31/2017
16.12.1 3,106 1/16/2017
16.12.0 1,531 12/27/2016
16.11.0 2,340 11/30/2016
16.10.0 2,316 11/4/2016
16.9.0 2,933 10/12/2016
16.8.0 2,870 9/27/2016
16.7.0 1,501 8/22/2016
16.6.0 16,082 7/15/2016
16.5.0 3,112 6/16/2016
16.4.0 3,327 5/16/2016
16.3.0 7,767 4/11/2016
16.2.0 4,259 3/17/2016
16.1.0 5,843 2/4/2016
15.11.0 9,127 1/11/2016
15.10.0 9,179 12/10/2015
15.9.0 5,454 11/6/2015
15.8.1 913 10/16/2015
15.8.0 1,207 10/5/2015
15.7.0 3,122 9/3/2015
15.6.0 7,053 7/22/2015
15.5.0 2,684 6/16/2015
15.4.0 1,797 5/14/2015
15.3.1 1,001 4/23/2015
15.3.0 665 4/14/2015
15.2.0 8,579 3/6/2015
15.1.0 1,219 2/3/2015
14.10.0 4,556 11/28/2014
14.9.0 1,479 11/11/2014
14.8.1 1,377 10/24/2014
14.8.0 620 10/16/2014
14.7.0 1,821 9/7/2014
14.6.0 1,129 8/6/2014
14.5.0 3,059 7/16/2014
14.4.0 1,740 6/2/2014
14.3.0 1,956 5/6/2014
14.2.0 1,135 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,430 6/5/2014
8.4.1 1,129 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,867 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,934 8/4/2013
7.6.0 777 7/5/2013
7.5.0 1,015 5/27/2013
7.4.0 7,295 4/24/2013
7.3.0 802 4/10/2013
7.2.0 1,027 3/8/2013
7.1.0 3,106 1/28/2013
7.0.0 829 12/31/2012
6.9.0 777 12/10/2012
6.8.0 844 10/30/2012
6.7.0 1,097 10/4/2012
6.6.0 707 9/13/2012
6.5.0 818 7/27/2012
6.4.0 737 6/27/2012
6.3.0 663 5/29/2012
6.2.0 706 5/7/2012
6.1.0 730 3/28/2012
6.0.0 702 3/2/2012
5.9.0.1 722 2/16/2012
5.9.0 1,122 2/16/2012
Show less