We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Single line text breaks up into separate texts while Converting VSDX to SVG in C#

Hello,
Occasionally single line texts are broken up into separate texts when converted to svg, please see attached example text_breaks_ups.zip (11.0 KB)

@sukhareva.jj

Can you please make sure to test the case using 22.1 version as we tested using the same and did not notice any issue:

var d = new Aspose.Diagram.Diagram(dataDir + "text_breaks_ups.vsdx");
var SVGso = new Aspose.Diagram.Saving.SVGSaveOptions();
SVGso.EmfRenderSetting = Diagram.EmfRenderSetting.EmfPlusPrefer;
d.Save(dataDir + "text_breaks_ups.svg", SVGso);

text_breaks_ups.zip (751 Bytes)

I think we are not on the same page here - the text in vsd file is single object but when converted becomes 2 separate text that are grouped
in svg it looks like this

<g transform="matrix(1,0,0,1,0,0)">
    <text x="20.06463" fill="#000000" y="3.6" transform="matrix(1,0,0,-1,0,8.642813)" opacity="1" class="TextStyle0">181 ТППЭП 50Х2</text>
    <text x="71.62713" fill="#000000" y="3.6" transform="matrix(1,0,0,-1,0,8.642813)" opacity="1" class="TextStyle0">800 2002г</text>
</g>

It complicates further work with the generated file. Is there away to avoid this or some explanation why it happens?

@sukhareva.jj

Thanks for further clearing the issue concept. We have logged an issue as DIAGRAMNET-52640 in our issue tracking system to further investigate it. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We apologize for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-52640) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou