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

Grid size

Hello... Can I change the grid size during run time?

2 Replies

SL sk lim July 7, 2004 04:36 AM UTC

I find the solution for my stupid question already. thanks.


AD Administrator Syncfusion Team July 7, 2004 08:31 PM UTC

The Diagram''s grid is rendered by it''s View component and can be accessed through the Diagram.View.Grid property. The Grid.Spacing or Grid.VerticalSpacing/Grid.HorizontalSpacing properties may then be used to set the grid point distances. // This sets the Grid''s horizontal and vertical spacing to be equal to 25 pixels this.diagramComponent.View.Grid.Spacing = new SizeF(25, 25); Regards, Prakash

Loader.
Live Chat Icon For mobile
Up arrow icon