We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hang on converting to PDF

Hello,

I’m evaluating Aspose.SVG and have run into a hang when trying to convert a fairly simple SVG file to PDF. I’m able to view the SVG in a web browser, so I don’t think it is corrupt.

Here is the test code I’m using:
Aspose.Svg.Converters.Converter.ConvertSVG(@“c:\temp\test.svg”, new PdfSaveOptions(), @“c:\temp\test.pdf”);

The test.svg I’m using can be downloaded here, https://1drv.ms/u/s!AvD7oS8vmdQzk6IYhYlN1hFZjAX0Og?e=lbPwO0

Let me know if I’m doing something wrong.

Thanks!

Scott

@scooter73

We were able to reproduce the similar issue in our environment. Therefore, it has been logged as SVGNET-73 in our issue management system. We will further look into its details and let you know as soon as it is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi Asad,

Thank you for the update. I look forward to the fix.

Thanks,

Scott

~WRD0002.jpg (357 Bytes)

@scooter73

We have fixed the issue that caused pagination to hang on SVG documents with elements that had an infinite or very large height. You can download and use Aspose.SVG for .NET 22.5 in order to use the fix.