Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic setWrapAtCharacter and Diagram (Read 1630 times)
jgreen
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Aug 12th, 2010
setWrapAtCharacter and Diagram
Aug 25th, 2010 at 8:59pm
Print Post  
I'm trying to set the setWrapAtCharacter property to false in my diagram so that it does not wrap at characters but wraps at words.

According to the help file it's a method of TextFormat  (TextFormat.setWrapAtCharacter) but I don't have that option. 

DiagramView.Diagram.TextFormat.setWrapAtCharacter(false) does not exists.

The only "Set" options I have are:
   .TextFormat.SetDigitSubstitution()
   .TextFormat.SetMeasurableCharacterRanges()
   .TextFormat.SetTabStops()


What am I missing?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: setWrapAtCharacter and Diagram
Reply #1 - Aug 26th, 2010 at 8:25am
Print Post  
This is available only in the applet API, and you can call it from a NodeCreated handler on the client side. Or otherwise try clearing the Character flag in TextFormat.Trimming on the server.

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


I love YaBB 1G - SP1!

Posts: 27
Joined: Aug 12th, 2010
Re: setWrapAtCharacter and Diagram
Reply #2 - Aug 26th, 2010 at 1:35pm
Print Post  
thanks.

"dgView.Diagram.TextFormat.Trimming = StringTrimming.Word" worked.

I must say that I like the product, really like your help and quick responses but very much wish that there were better help files with examples available.   
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint