Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Shape Class / LockAspectRatio Property


In This Topic
    LockAspectRatio Property (Shape)
    In This Topic
    Gets or sets a value indicating whether the IShape retains its original proportions when you resize it.
    Syntax
    'Declaration
     
    
    Public Property LockAspectRatio As Boolean
    'Usage
     
    
    Dim instance As Shape
    Dim value As Boolean
     
    instance.LockAspectRatio = value
     
    value = instance.LockAspectRatio
    public bool LockAspectRatio {get; set;}

    Property Value

    true if the shape retains its original proportions when you resize it; otherwise, false if you can change the height and width of the shape independently of one another when you resize it.
    See Also