Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IGroupShape Interface / LockAspectRatio Property


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