Nevron .NET Vision
Nevron.Diagram Namespace / NLayoutData Class / ElectricalCharge Property


In This Topic
    ElectricalCharge Property
    In This Topic
    Gets/sets the electrical charge of a shape, which is threated as electrically charged partical. Used by force directed layouts with electrical force. Applicable for 2D shapes only.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Shape 2D Layout")>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the electrical charge of a shape, which is threated as electrically charged partical. Used by force directed layouts with electrical force. Applicable for 2D shapes only.")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property ElectricalCharge As System.Single
    'Usage
     
    
    Dim instance As NLayoutData
    Dim value As System.Single
     
    instance.ElectricalCharge = value
     
    value = instance.ElectricalCharge
    [System.ComponentModel.Category("Shape 2D Layout")]
    [System.ComponentModel.Description("Gets/sets the electrical charge of a shape, which is threated as electrically charged partical. Used by force directed layouts with electrical force. Applicable for 2D shapes only.")]
    [System.Xml.Serialization.XmlAttribute()]
    public System.float ElectricalCharge {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