N2.Web.Drawing.ImageResizeParameters.Fill C# (CSharp) Method

Fill() public static method

public static Fill ( Rectangle sourceRectangle, int maxWidth, int maxHeight ) : ImageResizeParameters
sourceRectangle System.Drawing.Rectangle
maxWidth int
maxHeight int
return ImageResizeParameters
        public static ImageResizeParameters Fill(Rectangle sourceRectangle, int maxWidth, int maxHeight)
        {
            return new ImageResizeParameters(maxWidth, maxHeight, ImageResizeMode.Fill) { SourceRectangle = sourceRectangle };
        }
    }
ImageResizeParameters