SpringStiffness Property (NLayoutData)
In This Topic
Gets/sets the spring stiffness 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 stiffness.
Syntax
'Declaration
<System.ComponentModel.CategoryAttribute("Shape 1D Layout")>
<System.ComponentModel.DescriptionAttribute("Gets/sets the spring stiffness 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 stiffness.")>
<System.Xml.Serialization.XmlAttributeAttribute()>
Public Property SpringStiffness As System.Single
'Usage
Dim instance As NLayoutData
Dim value As System.Single
instance.SpringStiffness = value
value = instance.SpringStiffness
[System.ComponentModel.Category("Shape 1D Layout")]
[System.ComponentModel.Description("Gets/sets the spring stiffness 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 stiffness.")]
[System.Xml.Serialization.XmlAttribute()]
public System.float SpringStiffness {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