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.
Syntax
'Declaration
 
Property LockAspectRatio As System.Boolean
'Usage
 
Dim instance As IShapeRange
Dim value As System.Boolean
 
instance.LockAspectRatio = value
 
value = instance.LockAspectRatio
System.bool LockAspectRatio {get; set;}
Requirements

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

Reference

IShapeRange Interface
IShapeRange Members
LockAspectRatio Property