Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FitSizeToText can't work? (Read 2838 times)
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
FitSizeToText can't work?
Jul 18th, 2007 at 11:52pm
Print Post  
???code:

BoxItem boxLabel=m_FlowChart.CreateBox(10,45,
20,100);

boxLabel.SetText("sssssssssssssssss");

boxLabel.SetTextStyle(tsFitPolyTop);
boxLabel.FitSizeToText();

text can't show, why? ???
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FitSizeToText can't work?
Reply #1 - Jul 19th, 2007 at 6:09am
Print Post  
tsFitPolyTop works only for boxes whose Style property equals to bsShape.

Stoyan
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: FitSizeToText can't work?
Reply #2 - Jul 19th, 2007 at 8:57am
Print Post  
OK
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint