Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How can I use the TableNode.setFont Method? (Read 1959 times)
wangzh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Apr 25th, 2009
How can I use the TableNode.setFont Method?
Apr 25th, 2009 at 5:26pm
Print Post  
I using  the net diagram in JavaApplet mode. I want to set TableNode Font Properties in JavaScript on the client-side.
I'm found this method need an font parameter,But i donot know how create an font object?
Can you give me an sample?
thanks!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How can I use the TableNode.setFont Method?
Reply #1 - Apr 26th, 2009 at 10:02am
Print Post  
Hi,

You can use the ScriptHelper.createFont method. Call DiagramApplet.getScriptHelper to get a ScriptHelper reference.

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


I love YaBB 1G - SP1!

Posts: 25
Joined: Apr 25th, 2009
Re: How can I use the TableNode.setFont Method?
Reply #2 - Apr 26th, 2009 at 10:23am
Print Post  
thanks,
it works now
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint