Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShape Interface / LockAspectRatio Property


In This Topic
    LockAspectRatio Property (IShape)
    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 IShape
    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