I have found a problem with changing shape text. Here is a sample project:
TestApp.zip (160.0 KB)
Steps to reproduce:
- Open project in Visual Studio and run it
- Choose a destination folder and press the button
- In the destination folder you will find temp.vsdx file. Open it
Basically text set on the second shape looks bad:
image.png (4.3 KB)
The first shape looks good.
If you need more info, please let me know.
@ManMasterDevelopment
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): DIAGRAMNET-53115
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@ManMasterDevelopment
The first shape contains only one character and the second shape contains two characters.
Please delete the first character of the shape.
if (id == new Guid("dd8e6c84-a98f-46be-bb83-aebbf15e9b99"))
{
Aspose.Diagram.Char ch = shape.Chars[1];
ch.IX = 0;
shape.Chars.Clear();
shape.Chars.Add(ch);
shape.Text.Value.Clear();
shape.Text.Value.Add(new Txt(@"romek
gfgdfg
dfgdfgdfg"));
}
Thanks.