SpreadsheetGear 2012
LockAspectRatio Property (IShapeRange)






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;}
read-write property LockAspectRatio: System.Boolean; 
function get,set LockAspectRatio : System.boolean
__property System.bool get_LockAspectRatio();
__property void set_LockAspectRatio( 
   System.bool value
);
property System.bool LockAspectRatio {
   System.bool get();
   void set (    System.bool value);
}
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

Send Feedback