Hello Team,
I use below code to replace a text value in a shape, but the shape is crashed. After manually saving the file resolve this formatting issue.
//Clear shape text values and chars
shape.Text.Value.Clear();
//shape.Chars.Clear();
//Fill the shape with new text values
shape.Text.Value.Add(new Txt(shapeText));
See below the actual output:
image.png (2.3 KB)