Converting svg to pdf throws NullReferenceException

I have an svg document and when I convert it to a pdf format it throw NullReferenceException.

Version Info

Aspose.SVG for Net 23.10.

The sample code

void Main()
	var svgPath = @"C:\Users\54390\Downloads\test.svg";
	var pdfPath = @"C:\Users\54390\Downloads\output.pdf";
	var options = new Aspose.Svg.Saving.PdfSaveOptions();
	Aspose.Svg.Converters.Converter.ConvertSVG(svgPath, options, pdfPath);

The demo file (128.6 KB)


We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SVGNET-295

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.