Leadtools.Annotations.Core.AnnResizeMode = function() { }; Leadtools.Annotations.Core.AnnResizeMode.prototype = {
fit = 0x00000000, fitAlways = 0x00000001, fitWidth = 0x00000002, fitHeight = 0x00000003, stretch = 0x00000004, };
Value | Member | Description |
---|---|---|
0x00000000 | fit |
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. |
0x00000001 | fitAlways |
Always fit the container into the destination size while maintaining the aspect ratio, even if the container size is smaller than the destination size. |
0x00000002 | fitWidth |
Fit the container width so it has the same value as the destination size, and maintain the aspect ratio. |
0x00000003 | fitHeight |
Fit the container height so it has the same value as the destination size, and maintain the aspect ratio. |
0x00000004 | stretch |
Fit the container so it is the same exact size as the destination size. Aspect ratio can change. |