Hi,
I'm trying to get rounded corners to my TextFrame.
Here's my code:
contentText.LineFormat.RoundEndCap = true;
contentText.LineFormat.ShowLines = true;
I only get square corners.
Hi,
I'm trying to get rounded corners to my TextFrame.
Here's my code:
contentText.LineFormat.RoundEndCap = true;
contentText.LineFormat.ShowLines = true;
I only get square corners.
Dear Carl,
Copy the round rectangle autoshape from some source slide, add a textframe inside and use it.
You can find the code here to know how to use serialization /de serialization of autoshape to copy it from one slide to another/same slide.
Once you had a round rectangle autoshape, you can add textframe like this.
TextFrame tf=roundAutoShape.AddTextFrame(“Your text”);
Hello Carl,
We have added property LineFormat.JoinStyle and LineJoinStyle enumeration.
It will be available in the next version.