We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Diagram Grid

Hi, i define my DiagramWebControl with a Height="650px" Width="1030px", but still there a space between the GridLayer and the ScrollLayer (See Attachment). So as i understood there are many Layers like Diagramlayer, Backgroundlayer, Nodeslayer etc.... So my question ist which Layers-Width should i change to fill that Space to allow Drag&Drop my Symbols.

Best Regards


3 Replies

AA Amsath Ali M Syncfusion Team March 12, 2013 04:05 AM UTC

Hi Hayssam,


Thanks for using Syncfusion products.


We suggest you to use the Model’s ‘DocumentSize’ Property to achieve your requirement. Please refer the below code snippet.


Here is the code:


//sets the size of the document.

                DiagramWebControl1.Model.DocumentSize = new Syncfusion.Windows.Forms.Diagram.PageSize(1030, 650);


Here is the sample:


Please let us know if you have any queries.



Amsath Ali. M

HH Hayssam Hassan March 12, 2013 12:21 PM UTC

Thanx it works

Best Regards
Hayssam Hassan

AA Amsath Ali M Syncfusion Team March 13, 2013 04:56 AM UTC

Hi Hayssam,


Thanks for your update.


We are happy to hear that the issue has been resolved.

Please let us know if you require any further assistance on this. We would be happy to help you out.



Amsath Ali. M

Live Chat Icon For mobile
Up arrow icon