SpreadsheetGear 2023
LockAspectRatio Property (IShape)


SpreadsheetGear.Shapes Namespace > IShape Interface : LockAspectRatio Property
Gets or sets the flag which indicates whether the aspect ratio of this shape is locked.
Syntax
'Declaration
 
Property LockAspectRatio As System.Boolean
'Usage
 
Dim instance As IShape
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

IShape Interface
IShape Members