LEADTOOLS JavaScript (Leadtools.Annotations.Core)

AnnResizeMode Enumeration

Show in webframe
Determines how to resize the container in the new dimension values.
Syntax
Leadtools.Annotations.Core.AnnResizeMode = function() { };
Leadtools.Annotations.Core.AnnResizeMode.prototype = {
fit = 0x00000000, fitAlways = 0x00000001, fitWidth = 0x00000002, fitHeight = 0x00000003, stretch = 0x00000004, };
Members
ValueMemberDescription
0x00000000fit

Fit the container into the destination size while maintaining the aspect ratio. If the container size is smaller than the destination size, do not resize.

0x00000001fitAlways

Always fit the container into the destination size while maintaining the aspect ratio, even if the container size is smaller than the destination size.

0x00000002fitWidth

Fit the container width so it has the same value as the destination size, and maintain the aspect ratio.

0x00000003fitHeight

Fit the container height so it has the same value as the destination size, and maintain the aspect ratio.

0x00000004stretch

Fit the container so it is the same exact size as the destination size. Aspect ratio can change.

See Also

Reference

Leadtools.Annotations.Core Namespace

 

 


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