Shape.LockAspectRatio Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property Microsoft::Office::Core::MsoTriState LockAspectRatio { Microsoft::Office::Core::MsoTriState get(); void set(Microsoft::Office::Core::MsoTriState value); };
public Microsoft.Office.Core.MsoTriState LockAspectRatio { get; set; }
member this.LockAspectRatio : Microsoft.Office.Core.MsoTriState with get, set
Public Property LockAspectRatio As MsoTriState
Property Value
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.