Hello,
I am using aspose.diagram v6.7.0 to generate SVG from the page - 'Detail' of the attached visio file.
In the SVG output, a black strip comes instead of text. Actually, both text color and it's background are rendered in black color in SVG output, due to which the text is invisible.
I have attached a screenshot comparing the SVG with the Actual Visio Page.
Following code is used to generate the SVG output:
Diagram diagram = new Diagram("BFlowchart.vsd");
String pageName = "Page-1";
Page srcPage = diagram.getPages().getPage(pageName);
File outputFile = new File("output.svg");
int imageFormat = SaveFileFormat.SVG;
int pageIndex = 0;
SVGSaveOptions svgOptions = new SVGSaveOptions();
for (Page page : (Iterable) diagram.getPages()) {
if (page.getID() == srcPage.getID()) {
svgOptions.setPageIndex(pageIndex);
break;
}
pageIndex++;
}
diagram.save(outputFile.getAbsolutePath(), svgOptions);
Can you please analyse this issue.
Thanks,
Neha
Hi Neha,
Thank you for contacting support. We managed to replicate the problem of a black strip in place of the text line. It has been logged under ticket id DIAGRAMJAVA-50353 in our bug tracking system. Your post has also been linked to this ticket. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.
Hi Neha,
Thank you for being patient. We have a good news for you that the ticket ID DIAGRAMJAVA-50353 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version 16.11.0 of Aspose.Diagram for Java API. We’ll inform you via this forum thread as soon as the new release is published.
Hi Neha,
Thank you for being patient. In reference to the ticket ID DIAGRAMJAVA-50353, please download and use the latest Hotfix version:
Aspose.Diagram for Java 16.10.1. Please also let us know how that goes on your side.
The issues you have found earlier (filed as DIAGRAMJAVA-50353) have been fixed in Aspose.Diagram for Java 16.11.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.