ComponentOne Gauges for WinForms
C1.Win.C1Gauge.4.5.2 Assembly / C1.Win.C1Gauge Namespace / C1GaugeViewport Class / AspectRatio Property

In This Topic
    AspectRatio Property
    In This Topic
    Gets or sets the fixed ratio of width to height of the viewport.
    Syntax
    'Declaration
     
    Public Property AspectRatio As System.Double
    public System.double AspectRatio {get; set;}
    Remarks
    Set to Double.NaN to avoid restriction of the aspect ratio.
    See Also