(Leadtools.Annotations.Designers)

MaintainAspectRatio Property (AnnEditDesigner)

Show in webframe





Gets or sets a value that indicates whether to preserve the aspect ratio when moving a corner thumb.
Syntax
public virtual bool MaintainAspectRatio {get; set;}
Public Overridable Property MaintainAspectRatio As Boolean
public virtual bool MaintainAspectRatio {get; set;}
@property (nonatomic) BOOL maintainAspectRatio;
public boolean getMaintainAspectRatio()
public void setMaintainAspectRatio(boolean maintainAspectRatio)
            
 
get_MaintainAspectRatio();
set_MaintainAspectRatio(value);
Object.defineProperty('MaintainAspectRatio');

Property Value

true to preserve the aspect ratio when moving a corner thumb; otherwise, it is false. The default value is true.
Remarks

When selecting an Leadtools.Annotations.Core.AnnRectangleObject, or any annotation object that derives from an Leadtools.Annotations.Core.AnnRectangleObject, eight thumbs appear. If MaintainAspectRatio is true (default), dragging one of the four corner thumbs changes the size of the annotation object while maintaining its aspect ratio. If false, the aspect ratio won't be preserved.

Requirements

Target Platforms

See Also

Reference

AnnEditDesigner Class
AnnEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.