Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Layouting diagram: avoid bounds recomputing/redraw (Read 1758 times)
dku
YaBB Newbies
*
Offline



Posts: 41
Joined: Jun 5th, 2008
Layouting diagram: avoid bounds recomputing/redraw
Aug 20th, 2008 at 11:51am
Print Post  
Hello,

I'm performing 'complex' layouting around a layered layout.

In my method, I'm removing items (myGraphicalExplorerDiagram.Items.Remove (..)) - it is changing the bounds (Autosize=default value). I'm also making other changes that probably fires recomputing and redraws.

Gives it a way to block any computing/redrawing in the diagram ? (I've tried diag.BeginInit()/EndInit() - but no success - bounds are recomputed).

Using version 1.0.

Thanks
Didier

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Layouting diagram: avoid bounds recomputing/re
Reply #1 - Aug 20th, 2008 at 2:56pm
Print Post  
Hello,

Set AutoResize = None before running your layout code, then enable it again and call ResizeToFitItems().

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint