Nevron Diagram for .NET - Enterprise - 서포트

by Nevron - 상품타입: Component / ASP.NET WebForms / ASP.NET AJAX (ATLAS) / .NET WinForms / .NET Class / 100% Managed Code / AJAX

지원 포럼

Nevron Diagram for .NET aayub [Bahrain] 21-May-2008 08:54:36

I am trying to play with the orientation of the text displayed inside the text of the NShapes while using Nevron Diagrams but unable to do so here is the code anybody can help me with what am I missing?

NShape newShape = null;
//we have set 1 for the oval
newShape = factory.CreateShape((int)FlowChartingShapes.Termination);
newShape.Name = "my name";
newShape.Bounds = new NRectangleF(10, 100, 100,100);
newShape.Text = "Text inside me ";
text1.Mode = BoxTextMode.Stretch;
//newShape.Style.TextStyle.Orientation = 90;
ATDrawingdocument.ActiveLayer.AddChild(newShape);
I get an exception on the line that I have commensted.
리플

RE: Nevron Diagram for .NET khan.kamran [Pakistan] 09-Oct-2008 11:39:49

please follow the following pattern to apply text style

NTextStyle textStyle = new NTextStyle();
NFontStyle fontStyle = new NFontStyle("Tahoma", 30);
textStyle.FontStyle = fontStyle;
textStyle.Orientation = 90;
newShape.Style.TextStyle = textStyle;
리플


상품검색

검색어를 입력해주세요:

화면 바로가기 갤러리

Award