Share via


InlineShape.LockAspectRatio Property

Determines whether the specified shape retains its original proportions when you resize it.

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 InlineShape
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.

MsoTriState can be one of the following constants:

msoCTrue

msoFalse

msoTriStateMixed

msoTriStateToggle

msoTrue

See Also

Reference

InlineShape Interface

InlineShape Members

Microsoft.Office.Interop.Word Namespace