Nevron Forum

NTextShape Rotate changes the direction of the text.

https://www.nevron.com/Forum/Topic7752.aspx

By Steve Warner - Monday, May 13, 2013

When using the NShape.Rotate(CoordinateSystem.Parent, 90, NPointF()) method, so that a shape that was Horizontal is now Vertical pointing down, I am experiencing inconsistency. Some of the time the text is pointing down and some of the time the text is pointing up. Is there something in the NTextShape that I am not setting properly or missing?

These are the style settings that I have in place.

myShape.Mode = BoxTextMode.Stretch;
myShape.Style.TextStyle.Orientation = 0;
myShape.Style.TextStyle.StringFormatStyle.StringFormatType = StringFormatType.GenericTypographic;
myShape.Style.TextStyle.BackplaneStyle.Visible = true;
myShape.Style.TextStyle.BackplaneStyle.FillStyle = new NColorFillStyle(new NArgbColor(0, Color.White));
myShape.Style.TextStyle.StringFormatStyle.HorzAlign = HorzAlign.Center;
myShape.Style.TextStyle.StringFormatStyle.VertAlign = VertAlign.Center;


I have the Padding set to 0.
Is it a setting in the Protection, or InteractionStyle? Any direction to start looking would be great.