The converted file has different text.
Input: “BldgPlan.vsd”
Output: “converted.pdf”
private File convertToPdf() throws Exception { // Aspose throws Exception from all it’s methods
try {
InputStream stream = new FileInputStream(visioFile.getAbsolutePath());
// load diagram
Diagram diagram = new Diagram(stream);
File converted = PathUtils.createTempFilePdf();
// Save as PDF file format
diagram.save(converted.getAbsolutePath(), SaveFileFormat.PDF);
stream.close();
return converted;
}catch (Exception e) {
throw new Exception(e);
}
}<a class="attachment" href="/uploads/default/9025">vision_different_text.zip</a> (982.1 KB)
@ruhongcai,
We managed to replicate the problem of different text in our environment. It has been logged under the ticket ID DIAGRAMJAVA-50570 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.
@ruhongcai,
The linked ticket ID DIAGRAMJAVA-50570 has been resolved and will be included in the next version 17.12 of Aspose.Diagram for Java API. We will notify you once the next version is published.
@ruhongcai,
The linked ticket ID DIAGRAMJAVA-50570 has been fixed. Please download and try the latest Hotfix version: Aspose.Diagram for Java 17.11.1, and then let us know how that goes into your environment.
@ruhongcai,
The fix of linked ticket ID DIAGRAMJAVA-50570 has been included in the full version 17.12. Please download and try the latest version 17.12 of Aspose.Diagram for Java API.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan