Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

MaintainAspectRatio Property

Show in webframe
Gets or sets a value that indicates whether to preserve the aspect ratio when moving a corner thumb for all AnnEditDesigner derived classes.
Syntax
get_maintainAspectRatio();
set_maintainAspectRatio(value);
Object.defineProperty('maintainAspectRatio');

Property Value

TypeDescription
booleantrue to maintain the aspect ratio; otherwise, it is false. The default value is true.
Remarks

When selecting an AnnRectangleObject, any annotation object that derives from AnnRectangleObject, or a AnnGroupObject, eight thumbs appear. If MaintainAspectRatio is true (default), dragging one of the four corner thumbs will change the size of the annotation object while maintaining its aspect ratio. If this value is false, the aspect ratio is not preserved.

See Also

Reference

AnnAutomationManager Object
AnnAutomationManager Members

Error processing SSI file