Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Visio - Change shape color (Read 1884 times)
JCRonSaratoga
YaBB Newbies
*
Offline


Go Cubs Go!

Posts: 30
Joined: Apr 15th, 2008
Visio - Change shape color
Apr 22nd, 2008 at 1:29pm
Print Post  
Hi:

How do I shape the shape color of a VISIO flowchart that I import? 

I have been able to change the shadow color & pen color using:

       diag.Items(0).ShadowColor = Color.LawnGreen
       diag.Items(0).Pen.Color = Color.Red

Thanks
Jim
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Visio - Change shape color
Reply #1 - Apr 22nd, 2008 at 1:31pm
Print Post  
Hi,

You must create a Brush object (from the MindFusion.Drawing namespace classes) and assign it to the Brush property of nodes:

node.Brush = new MindFusion.Drawing.SolidBrush(Color.Blue)

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


Go Cubs Go!

Posts: 30
Joined: Apr 15th, 2008
Re: Visio - Change shape color
Reply #2 - Apr 22nd, 2008 at 2:13pm
Print Post  
PERFECT!  Thanks - that works well.

Have A Good Day,
Jim
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint