Open anbarasakumar opened 2 months ago
The XML structure of the SVG is optimized for size.
Just to understand what you are trying to do, what is the use case where you need the groups? If it is for editing, can you import the PDF directly into your vector editor?
Before reporting an issue, please ensure:
When converting the PDF to SVG the folder structure is not matching with PDF. below is my used code
try { using (var doc = PdfDocument.Open(@"E:\PdfToSvg\Pdf\" + fileName + ".pdf")) { var pageNo = 1; var option = new SvgConversionOptions(); foreach (var page in doc.Pages) { page.SaveAsSvg(@"E:\PdfToSvg\Svg\" + fileName + "-" + pageNo.ToString() + ".svg", option); pageNo++; } } return true; }