Screenshot Preview

Nevron Diagram for .NET - Enterprise - Support

by Nevron - Product Type: Component / ASP.NET WebForms / ASP.NET AJAX (ATLAS) / .NET WinForms / .NET Class / 100% Managed Code / AJAX

Support Forum

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.
Reply

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;
Reply


Product Search

Enter search words:

Why buy from ComponentSource?

ComponentSource offers a unique global service, used by over 1,000,000 software developers worldwide.

More Info | About Us

Screenshot Gallery

Click for full screen preview

Screenshot of Nevron Diagram for .NET - Enterprise - 2011.1 (Build V12.1.18.12) Screenshot of Nevron Diagram for .NET - Enterprise - 2011.1 (Build V12.1.18.12) Screenshot of Nevron Diagram for .NET - Enterprise - 2011.1 (Build V12.1.18.12) Screenshot of Nevron Diagram for .NET - Enterprise - 2011.1 (Build V12.1.18.12) Screenshot of Nevron Diagram for .NET - Enterprise - 2011.1 (Build V12.1.18.12)
Award