Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Resize Applet Diagram (Read 1666 times)
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Resize Applet Diagram
Sep 18th, 2010 at 5:19pm
Print Post  
How can I resize the diagram in applet mode. I have tried to work with resize() or getWidth() but none of these methods seem to exist for diagram.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Resize Applet Diagram
Reply #1 - Sep 19th, 2010 at 7:26am
Print Post  
Use the getBounds and setBounds methods of the Diagram class and ScriptHelper.createRectangleF(x, y, w, h).
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint