Profile Picture

NTextShape Rotate changes the direction of the text.

Posted By Steve Warner 11 Years Ago
Author
Message
Steve Warner
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 15, Visits: 1
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.




Similar Topics


Reading This Topic