ImageResizeConstraint Enumeration |
Namespace: NetQuarry.Util.Image
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. |