Shape.LockAspectRatio Property
True if the specified shape retains its original proportions when you resize it. False if you can change the height and width of the shape independently of one another when you resize it. Read/write MsoTriState.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property LockAspectRatio As MsoTriState
Get
Set
'Usage
Dim instance As Shape
Dim value As MsoTriState
value = instance.LockAspectRatio
instance.LockAspectRatio = value
MsoTriState LockAspectRatio { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState