Free Support Forum -

Converting SVG to PDF not working

I’m trying to convert a svg to pdf. The text is working, but the box around the text and the arrows are not visible in the pdf. Here is my code:

        var loadopt = new SvgLoadOptions();
        Aspose.Pdf.Document doc = new Aspose.Pdf.Document("C:/SVN_Incite/Prototypes/AsposePdfConversion/Aspose/Files/Test.SVG", loadopt);
        loadopt.AdjustPageSize = true;
        doc.Pages[1].PageInfo.Margin.Top = 0;
        doc.Pages[1].PageInfo.Margin.Left = 0;
        doc.Pages[1].PageInfo.Margin.Bottom = 0;
        doc.Pages[1].PageInfo.Margin.Right = 0;

Thanks a lot. (1.1 KB)
Image.png (25.7 KB)


We managed to replicate the problem of missing box lines around the shapes. It has been logged under the ticket ID PDFNET-44481 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.