aspnet-devexpress-dot-web-51a5dc26.md
Lists the values that specify how an image fits into the image area.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum ImageSizeMode
Public Enum ImageSizeMode
| Name | Description |
|---|---|
ActualSizeOrFit |
If an image is bigger than the image area the image is reduced to fit the area. If an image is smaller than the image area, its size is not changed.
|
| FitProportional |
An image is enlarged or reduced to fit the image area.
|
| FillAndCrop |
An image is enlarged or reduced to fill the image area. Prominent parts are cropped.
|
The following properties accept/return ImageSizeMode values:
Values listed by this enumerator are used to set the ImageSliderImageAreaSettings.ImageSizeMode property’s value.
See Also