GoDiagram Win Reference
SnapCellSpot Property

Gets or sets the spot in the cell that is returned by FindNearestGridPoint.
Syntax
'Declaration
 
<CategoryAttribute("Grid")>
<DefaultValueAttribute()>
<DescriptionAttribute("Which cell spot should be returned by GoGrid.FindNearestGridPoint.")>
Public Overridable Property SnapCellSpot As Integer
[CategoryAttribute("Grid")]
[DefaultValueAttribute()]
[DescriptionAttribute("Which cell spot should be returned by GoGrid.FindNearestGridPoint.")]
public virtual int SnapCellSpot {get; set;}

Property Value

The default value is GoObject.GoObject.TopLeft
Remarks
The most common values are GoObject.TopLeft and GoObject.Middle, corresponding to the most common spots used to control the GoObject.GoObject.Location. The values GoObject.MiddleLeft and GoObject.MiddleTop are also useful. Values such as GoObject.BottomRight are effectively the same as GoObject.TopLeft in the adjacent cell, just as GoObject.MiddleRight is the same as GoObject.MiddleLeft in a different adjacent cell.
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

GoGrid Class
GoGrid Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback