Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeBase Interface / LockAspectRatio Property


In This Topic
    LockAspectRatio Property (IShapeBase)
    In This Topic
    Gets or sets a value indicating whether the IShape retains its original proportions when you resize it.
    Syntax
    'Declaration
     
    
    Property LockAspectRatio As Boolean
    'Usage
     
    
    Dim instance As IShapeBase
    Dim value As Boolean
     
    instance.LockAspectRatio = value
     
    value = instance.LockAspectRatio
    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