Click or drag to resize

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
Members
  Member nameValueDescription
Default1 Image will be resized so longest dimension matches the image size property.
Width2 Image will be resized to fit the specified target width. The height will be sized to maintain the same aspect ratio.
Height3 Image will be resized to fit the specified target height. The width will be sized to maintain the same aspect ratio.
None3 Image will be resized to fit the specified width and height. The image may become distorted as a result.
See Also