Shape.LockAspectRatio Property

Determines if you can change the height and width of the shape independently of one another when you resize it or if it retains its original proportions.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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: MsoTriState

Remarks

This property returns MsoTrue if the specified shape retains its original proportions when you resize it, and MsoFalse if you can change the height and width of the shape independently of one another when you resize it.

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Word Namespace