Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Set shape border (Read 2187 times)
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Set shape border
Mar 31st, 2009 at 8:15am
Print Post  
Hi,

I'm tring to set border and didnt sucessed.

shape.BorderThickness = new Thickness(2);

shape.BorderBrush = new SolidColorBrush(Colors.Red);


Thank.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Set shape border
Reply #1 - Mar 31st, 2009 at 10:20am
Print Post  
Hi,

You must set the ShapeNode.Pen property to a Pen instance with the attributes you need.

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


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: Set shape border
Reply #2 - Mar 31st, 2009 at 10:25am
Print Post  
Works!

Thanks...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint