Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node Colors (Read 2161 times)
trigger
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Oct 16th, 2009
Node Colors
Oct 26th, 2009 at 3:23pm
Print Post  
hi i am using like this
to get node colour

  Diagram diagram = diagramView.Diagram;
           diagram.SelectAfterCreate = false;

           diagram.ShapeBrush = new MindFusion.Drawing.LinearGradientBrush(Color.ForestGreen, Color.White, 30);

           ShapeNode start = diagram.Factory.CreateShapeNode(10, 10, 40, 15);




But i am getting following error

: The name 'Color' does not exist in the current context
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node Colors
Reply #1 - Oct 26th, 2009 at 3:25pm
Print Post  
You should import the System.Drawing namespace.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
trigger
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Oct 16th, 2009
Re: Node Colors
Reply #2 - Oct 26th, 2009 at 8:32pm
Print Post  
Thanks stoyo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint