Nevron.Diagram Namespace / NLayoutData Class / MagnetizationType Property


In This Topic
    MagnetizationType Property (NLayoutData)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Shape 1D Layout")>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the magnetization type for a shape, which is threated as a magnetized needle trying to align itself with a magnetic field. Used by force directed layouts with magnetic forces. Applicable for 1D shapes only, when UseDefaultMagnetizationType is set to false..")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property MagnetizationType As MagnetizationType
    'Usage
     
    
    Dim instance As NLayoutData
    Dim value As MagnetizationType
     
    instance.MagnetizationType = value
     
    value = instance.MagnetizationType
    [System.ComponentModel.Category("Shape 1D Layout")]
    [System.ComponentModel.Description("Gets/sets the magnetization type for a shape, which is threated as a magnetized needle trying to align itself with a magnetic field. Used by force directed layouts with magnetic forces. Applicable for 1D shapes only, when UseDefaultMagnetizationType is set to false..")]
    [System.Xml.Serialization.XmlAttribute()]
    public MagnetizationType MagnetizationType {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