ImageResizeConstraint Enumeration |
Defines on which dimaension a resized image should be constrained.
Namespace:
NetQuarry.Util.Image
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public enum ImageResizeConstraint
Public Enumeration ImageResizeConstraint
Members
| Member name | Value | Description |
---|
| Default | 1 |
Image will be resized so longest dimension matches the image size property.
|
| Width | 2 |
Image will be resized to fit the specified target width. The height will be sized to maintain the same aspect ratio.
|
| Height | 3 |
Image will be resized to fit the specified target height. The width will be sized to maintain the same aspect ratio.
|
| None | 3 |
Image will be resized to fit the specified width and height. The image may become distorted as a result.
|
See Also