Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to colored border of shape. (Read 3511 times)
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
How to colored border of shape.
Apr 19th, 2013 at 11:14am
Print Post  
Hi stoyo,
I am using new version of minfussion and working with diagram. I can insert shape node in diagram. I want to colored border of the shape node.

In previous version i can do using this code

Dim node As ShapeNode = diagram.Nodes.Item(0)
Dim t As Double = node.StrokeThickness
Dim pen As New Pen
pen.Brush = newSelectedColorBrush
With node
.Pen = pen
.StrokeThickness = t
End With

note:- newSelectedColorBrush is brush.

But in new version, How can be done it?

Please suggest me something.....

Thanks in advance Smiley
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to colored border of shape.
Reply #1 - Apr 19th, 2013 at 11:49am
Print Post  
Hi,

Set node.Stroke = newSelectedColorBrush.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
Re: How to colored border of shape.
Reply #2 - Apr 19th, 2013 at 12:09pm
Print Post  
Hi Stoyo,

Thanks for replying back. It's working.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint