Hi,When I open one of my flowcharts it sometimes repositons all of the nodes and links so that you have to scroll left/down to see everything. When I save it, its in the right position, but it moves when opened again. And sometimes it creates the horizontal scroll bar when its not really necessary. I have auto scrolling enabled for the GoDocument. I have a feeling this has something to do with it, but I cant figure it out.
Using Express, right?
Did you start with our Flowcharter sample?
Yes i'm using Express, and yes I started with the Flowcharter sample.
For centering flowcharts, see this.
My DisplayRectangle.Size is 0,0.
because i was calling CenterDocumentInView too soon, working now.many thanks.
sorry, one more question,
The scrollbars show when the Document’s bounds are greater than can be seen in the View.
goView1.Document.Bounds = goView1.ComputeDocumentBounds();
may help if the documents bounds are bigger than they need to be to hold all the objects.