I have a SVG file with image in it. I am not allowed to upload SVG file directly here. So uploading the set6.svg.xml (XML format). On converting SVG to PDF, I don’t see the image in PDF.
Request File: set6.svg
Created PDF file: set6.pdf
Here is my code C#:
// Instantiate SvgLoadOptions object using SVG load option
Aspose.Pdf.SvgLoadOptions loadopt = new Aspose.Pdf.SvgLoadOptions
{
};
loadopt.ConversionEngine = Aspose.Pdf.SvgLoadOptions.ConversionEngines.NewEngine;
// Create Document object
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(@“my path…set6.svg”, loadopt);
// Save the resultant PDF document
doc.Save(@“my path.set6.pdf”);