New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Enumerates the different resize modes the control supports

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public enum BinaryImageResizeMode

Fields

The image will be cropped and centered if larger than the specified control Width and Height

C#
Crop = 2

The image will be stretched or shrunk to exactly fit the specified control Width and Height

C#
Fill = 3

The image will be resized to fit to the specified control Width and Height, preserving the image's width/height ratio.

C#
Fit = 1

The original image will not be resized

C#
None = 0
In this article
DefinitionFieldsCropFillFitNone
Not finding the help you need?
Contact Support