LineFormat.RoundEndCap -- How to?

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.

http://www.aspose.com/community/forums/129051/how-to-generate-diamond-autoshape-in-java-by-using-aspose/showthread.aspx#129051

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.