Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Thumbnails (Read 1879 times)
James_Thomas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Jul 28th, 2009
Thumbnails
Jul 28th, 2009 at 7:00am
Print Post  
Hi,

Is there a set of thumbnails of the default diagram shapes (e.g. the list in the PredShapes sample project)? I'd like to put them in a drop-down for users to change the shape of a node.

Thanks, James.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Thumbnails
Reply #1 - Jul 28th, 2009 at 9:36am
Print Post  
If you have moved to Silverlight 3, you could use the WriteableBitmap class to create thumbnails. Loop over Shape.Shapes and assign each shape definition to the Shape property of a temporary node, then create a new WriteableBitmap(tempNode).

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


I love YaBB 1G - SP1!

Posts: 6
Joined: Jul 28th, 2009
Re: Thumbnails
Reply #2 - Jul 28th, 2009 at 11:53am
Print Post  
Thanks - yes, that's a nice solution. Another reason to move to Silverlight 3 soon!
James.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint