GoDiagram Win Reference
PortGravity Property

Gets or sets the distance at which potential links will snap to valid ports.
Syntax
'Declaration
 
<DescriptionAttribute("The distance at which potential links will snap to valid ports.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Overridable Property PortGravity As Single
[DescriptionAttribute("The distance at which potential links will snap to valid ports.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public virtual float PortGravity {get; set;}

Property Value

The float value must be positive, indicating the document coordinate distance from the mouse to the prospective port. The default value is 100.0f.
Remarks
The GoToolLinking tool uses this property to decide when the user's drag of a new link or relink is "close enough" to a valid port that the tool should draw the proposed link directly to that port.
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

GoView Class
GoView Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback