Nevron .NET Vision
Nevron.Diagram.Layout Namespace / NCircularGraphLayout Class / AspectRatio Property


In This Topic
    AspectRatio Property
    In This Topic
    Determines the aspect (width/height) ratio of the layout. By default set to 1 which layouts the nodes in a circle.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Behavior")>
    <System.ComponentModel.DescriptionAttribute("Determines the aspect (width/height) ratio of the layout. By default set to 1 which layouts the nodes in a circle.")>
    <System.ComponentModel.DefaultValueAttribute(1)>
    Public Property AspectRatio As System.Single
    'Usage
     
    
    Dim instance As NCircularGraphLayout
    Dim value As System.Single
     
    instance.AspectRatio = value
     
    value = instance.AspectRatio
    [System.ComponentModel.Category("Behavior")]
    [System.ComponentModel.Description("Determines the aspect (width/height) ratio of the layout. By default set to 1 which layouts the nodes in a circle.")]
    [System.ComponentModel.DefaultValue(1)]
    public System.float AspectRatio {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