Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Jpg or png inside a ShapeListBox (Read 4088 times)
Andy (CyT)
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Aug 30th, 2012
Jpg or png inside a ShapeListBox
Aug 30th, 2012 at 8:04pm
Print Post  
Dear Moderator,


Using this configuration:


Diagramming for ASP.NET 4.2
Java Applet mode


Using this controls

<ndiag:ShapeListBox />
<ndiag:DiagramView />
<ndiag:Overview />


With the former configuration, I understand the only way I can fulfill the ShapeListBox in order to drag & drop over the
DiagramView is using the external xml file with the shapes on it.

The question is, if there is any way to fill the ShapeListBox with images such as .jpg or .png ?


Best regards, Andy.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Jpg or png inside a ShapeListBox
Reply #1 - Aug 31st, 2012 at 7:03am
Print Post  
Hi,

You could assign images to shapes in the shape library:

Code
Select All
  <shape id="newShape1" fill-mode="Winding" display-name="">
    <outline>...</outline>
    <decorations />
    <shape-decorations />
    <image x="0" y="0" width="100" height="100" src="test.jpg" />
    <enable-outline>True</enable-outline>
  </shape>
 



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