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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid size

Thread ID:





16149 Jul 7,2004 04:30 AM UTC Jul 7,2004 08:31 PM UTC WinForms 2
Tags: Diagram
sk lim
Asked On July 7, 2004 04:30 AM UTC

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

sk lim
Replied On July 7, 2004 04:36 AM UTC

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

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon