SpringLength Property (NLayoutData)
In This Topic
Gets/sets the spring length for a shape, which is threated as a spring. Used by force directed layouts with a spring force. Applicable for 1D shapes only. When set to -1 the shape uses the default spring length.
Syntax
'Declaration
<System.ComponentModel.CategoryAttribute("Shape 1D Layout")>
<System.ComponentModel.DescriptionAttribute("Gets/sets the spring length for a shape, which is threated as a spring. Used by force directed layouts with a spring force. Applicable for 1D shapes only. When set to -1 the shape uses the default spring length.")>
<System.Xml.Serialization.XmlAttributeAttribute()>
Public Property SpringLength As System.Single
'Usage
Dim instance As NLayoutData
Dim value As System.Single
instance.SpringLength = value
value = instance.SpringLength
[System.ComponentModel.Category("Shape 1D Layout")]
[System.ComponentModel.Description("Gets/sets the spring length for a shape, which is threated as a spring. Used by force directed layouts with a spring force. Applicable for 1D shapes only. When set to -1 the shape uses the default spring length.")]
[System.Xml.Serialization.XmlAttribute()]
public System.float SpringLength {get; set;}
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