Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VisualBrush (Read 1571 times)
SC
YaBB Newbies
*
Offline



Posts: 37
Joined: Jan 18th, 2008
VisualBrush
Oct 23rd, 2008 at 5:27pm
Print Post  
How can I zoom/scale visualbrush? I do not want it to get its zoom from diagram zoom.

brush = new System.Windows.Media.VisualBrush(diagram);
rectangle.Fill = brush;
« Last Edit: Oct 23rd, 2008 at 7:58pm by SC »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: VisualBrush
Reply #1 - Oct 24th, 2008 at 8:21am
Print Post  
You could assign a ScaleTransform to Brush.RelativeTransform.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint