GoDiagram Win Reference
SnapsToGrid Property

Gets or sets whether the result of ComputeBox heeds the view's grid by calling GoView.GoView.SnapPoint.
Syntax
'Declaration
 
Public Overridable Property SnapsToGrid As Boolean
public virtual bool SnapsToGrid {get; set;}

Property Value

The default value is false.
Remarks
When this is true, in order for ComputeBox to snap the GoView.FirstInput.DocPoint and GoView.LastInput.DocPoint, GoView.GoView.GridSnapDrag should be a value other than GoViewSnapStyle.None, or the view's GoView.Grid's GoGrid.CanSnapPoint predicate should return true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoToolCreating Class
GoToolCreating Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback