Browse our Products

Aspose.Slides for .NET 18.5 Release Notes

KeySummaryCategory
SLIDESNET-39148Support for setting custom position for child nodes in SmartArtFeature
SLIDESNET-39950Set Number of Nodes on Row levelFeature
SLIDESNET-40035Rendering comments from ODP formatFeature
SLIDESNET-34530Saving presentation to PDF takes huge time or fails to convert for a PPTX with 300 slidesBug
SLIDESNET-39620PPTX consumes 14.4GB memory, or exception on loading presentationBug
SLIDESNET-40033PPTX to PDF - Embedded font gets substitutedBug
SLIDESNET-40017NotImplementedException occurs while trying to read metadata from PPS fileBug
SLIDESNET-40021Improper export of radial gradient to PDFBug
SLIDESNET-33512The logo image is improperly rendered in generated PDFBug
SLIDESNET-34788Wrong justify alignment on thumbnailsBug
SLIDESNET-36975Font size and text box color changed on load and saveBug
SLIDESNET-37056Incorrect portion OuterShadow colorBug
SLIDESNET-39655Slow performance when exporting presentation with Charts to PDFBug
SLIDESNET-39873Aspose.Slides takes long team to load 60 Mb presentationsBug
SLIDESNET-39969ArrayIndexOutOfBoundsException on loading presentationBug
SLIDESNET-39971Wrong ClsidIndicator field value in OLEStream. on loading presentationBug
SLIDESNET-39972ArgumentException: An element with the same key already exists on loading the presentationBug
SLIDESNET-39973NotImplementedException on loading the presentationBug
SLIDESNET-39974ArgumentOutOfRangeException: Cannot be negative is thrown on loading presentationBug
SLIDESNET-39975NullPointer Exception on loading presentationBug
SLIDESNET-39979ArgumentOutOfRangeException on loading presentationBug
SLIDESNET-39994IndexOutOfRangeException is thrown on loading the presentationBug
SLIDESNET-40057Bubble Chart not being updated in generated thumbnailBug

Public API Changes

Support for setting X and Y properties has been added to SmartArtShape class

Aspose.Slides for .NET versions from 14.9 to 17.6 did not support RawFrame, Frame, Rotation, X, Y, Width and Height properties of SmartArtShape class and thrown System.NotSupportedException on attempt of setting them. Since Aspose.Slides for .NET version 17.7 SmartArtShape supports setting Frame, Rotation, Width and Height properties.

Now in Aspose.Slides for .NET version 18.5 support for setting SmartArtShape X and Y properties has been added.

The code snippet below shows how to set custom SmartArtShape position, size and rotation (please note that adding new nodes causes a recalculation of the positions and sizes of all nodes):

using (Presentation pres = new Presentation())
{
  ISmartArt smart = pres.Slides[0].Shapes.AddSmartArt(20, 20, 600, 500, SmartArtLayoutType.OrganizationChart);

  // Move SmartArt shape to new position
  ISmartArtNode node = smart.AllNodes[1];
  ISmartArtShape shape = node.Shapes[1];
  shape.X += (shape.Width * 2);
  shape.Y -= (shape.Height / 2);

  // Change SmartArt shape's widths
  node = smart.AllNodes[2];
  shape = node.Shapes[1];
  shape.Width += (shape.Width / 2);

  // Change SmartArt shape's height
  node = smart.AllNodes[3];
  shape = node.Shapes[1];
  shape.Height += (shape.Height / 2);

  // Change SmartArt shape's rotation
  node = smart.AllNodes[4];
  shape = node.Shapes[1];
  shape.Rotation = 90;

  pres.Save(path + "SmartArt.pptx", SaveFormat.Pptx);
}