LEADTOOLS JavaScript (Leadtools.Annotations.Designers)
LEAD Technologies, Inc

MaintainAspectRatio Property (AnnEditDesigner)

Gets or sets a value that indicates whether to preserve the aspect ratio when moving a corner thumb.
Syntax
  get_maintainAspectRatio();
 set_maintainAspectRatio(value);

Property Value

TypeDescription
booleantrue 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.

See Also

Reference

AnnEditDesigner Object
AnnEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.