This type contains the following members.

public sealed enum ResizeMode
Inheritance:
ObjectEnumResizeMode

Values

Do not resize image. If either height or width are set, defaults to {F:Redakt.Imaging.ResizeMode.Max} behaviour.
Resizes the image to the specified dimensions. If the dimensions do not match the original aspect ratio, areas will be cropped from the overflowing sides, centering the image on an optional focal point. If either height or width are not set, reverts to {F:Redakt.Imaging.ResizeMode.Max} behaviour.
Resizes the image to the specified dimensions. If the dimensions do not match the original aspect ratio, the image will be padded to fill the new dimensions. If either height or width are not set, reverts to {F:Redakt.Imaging.ResizeMode.Max} behaviour.
Resizes the image to the specified dimensions. If the dimensions do not match the original aspect ratio, the image is resized to the maximum possible value in each direction, while maintaining the original aspect ratio. If either height or width are not set, the image is scaled to the single specified dimension.
Resizes the image to the specified dimensions. If the aspect ratio is different from the original, the image is stretched to match the new aspect ratio. This is the only mode that can result in image warping.
In this article