Gets or sets the size of the grid to which the link’s vertices snap. If 0.0, no grid is used.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
After the user moves a line segment, the position is adjusted so that X or Y coordinates are a multiple of the GridSize. To switch off this feature, set GridSize to 0.0 or override this property to return 0.0. The default value is the GridSize of the parent shape or diagram. It is therefore usually only necessary to set or override the GridSize of the diagram.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.