I find the solution for my stupid question already. thanks.
AdministratorJuly 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);