This project is read-only.

Inaccesible region on the diagram

Jan 3, 2012 at 2:37 PM

I tried changing some properties of the diagram so that the diagram fills the whole control as shown below.

diagram1.Paging.Enabled = false; diagram1.Model.SetSize(new Size(1000, 1000));
Now the problem is that when i move an Element around there is some region where the element can not go-On the right side of the screen
Is there a way to fix that?
Thanks in advance

Jan 3, 2012 at 3:38 PM

Is the Model size smaller than the diagram control size? If so, you may need to increase the model size to be the same size as the diagram.

Jan 4, 2012 at 7:29 AM

Diagram.cs size is 150 by 150 pixels and I have set the  Model size to 1000 by 1000 not sure whether they are pixels and and i set the diagram's Dock property to fill but still there is a region that is Inaccessible