Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ResizeToFitText. Object reference not set to an instance of an object. (Read 4218 times)
NSTD2
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Feb 5th, 2013
ResizeToFitText. Object reference not set to an instance of an object.
Feb 5th, 2013 at 3:34pm
Print Post  
I have an exception in "tableNode.ResizeToFitText(false);" Without resizing diagram shows successfully (of course ugly).

What really makes me Cry is that program builds & works on Visual Studio 2008 Win 7 x86, but don't won't to build & work on Visual Studio 2012 Win 7 x64

I even reinstalled OS (x64), but it still doesn't work  Angry
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ResizeToFitText. Object reference not set to an instance of an object.
Reply #1 - Feb 5th, 2013 at 3:40pm
Print Post  
That has been fixed in this version:
https://mindfusion.eu/_beta/fcnet602.zip

As a work-around, set table.Pen before calling ResizeToFit. What do you mean by "don't want to build" on VS2012, are you getting any compilation errors?
  
Back to top
 
IP Logged
 
NSTD2
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Feb 5th, 2013
Re: ResizeToFitText. Object reference not set to an instance of an object.
Reply #2 - Feb 5th, 2013 at 4:47pm
Print Post  
Hmm, and what for I've spent so much time to solve problem myself ... I thought that the problem may be in Brushes (so close) so I assigned them manually

I am really happy now. Thanks!

P.S. I wanted to say "build && run". No compilation errors at all
P.S.S. Last question: dlls on link that You provided are 2.0/3.5 or 4.0/4.5?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ResizeToFitText. Object reference not set to an instance of an object.
Reply #3 - Feb 5th, 2013 at 5:04pm
Print Post  
The beta builds are for CLR2. I didn't get it if your build & run remark was for the same problem?
  
Back to top
 
IP Logged
 
NSTD2
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Feb 5th, 2013
Re: ResizeToFitText. Object reference not set to an instance of an object.
Reply #4 - Feb 5th, 2013 at 5:17pm
Print Post  
Thanks.

No problem with building at all
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint