LEADTOOLS JavaScript (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
get_maintainAspectRatio();
set_maintainAspectRatio(value);
Object.defineProperty('maintainAspectRatio');

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-2014 All Rights Reserved. LEAD Technologies, Inc.