Free Support Forum -

WriteAsSvg throw exception for grouped shapes (24.3 KB)

Aspose.Slides.NET 20.4/20.5 throw System.NullReferenceException
`using System;
using System.IO;

namespace ConsoleApp8
class Program
static void Main(string[] args)
var pres = new Aspose.Slides.Presentation(“3.pptx”);
pres.Slides[0].Shapes[0].WriteAsSvg(new MemoryStream());


I have observed the issue shared by you and have created a ticket with ID SLIDESNET-41923 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.