Document / View size


I create a new view and document and then add some nodes, links etc so that the document grows and the scroll bars appear on the view.
I then want to reset the document so that the scroll bars are gone and the document is empty. I use goView1.Document.Clear(); to clear the document, but what do I do to get the document back to its original size?


You can set the GoDocument.Size and .TopLeft properties.