SpreadsheetGear 2023
LockAspectRatio Property (IShapeRange)

SpreadsheetGear.Shapes Namespace > IShapeRange Interface : LockAspectRatio Property
Gets or sets the flag which indicates whether the aspect ratio of represented shapes should be maintained when the shapes are resized.
Property LockAspectRatio As System.Boolean
Dim instance As IShapeRange
Dim value As System.Boolean
instance.LockAspectRatio = value
value = instance.LockAspectRatio
System.bool LockAspectRatio {get; set;}

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IShapeRange Interface
IShapeRange Members
LockAspectRatio Property