NTextShape Rotate changes the direction of the text.


Author
Message
Steve Warner
Steve Warner
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
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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search