Back to Devexpress

ImageSizeMode Enum

aspnet-devexpress-dot-web-51a5dc26.md

latest2.8 KB
Original Source

ImageSizeMode Enum

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

Declaration

csharp
public enum ImageSizeMode
vb
Public Enum ImageSizeMode

Members

NameDescription
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:

LibraryRelated API Members
ASP.NET Web Forms ControlsASPxBinaryImage.ImageSizeMode
ASPxImageGallery.ThumbnailImageSizeMode
BinaryImageEditProperties.ImageSizeMode
ImageGalleryFullscreenViewerSettings.ImageSizeMode
ImageGalleryFullscreenViewerSettings.ThumbnailImageSizeMode
ImageSliderImageAreaSettings.ImageSizeMode
ImageSliderNavigationBarSettings.ImageSizeMode
ASP.NET MVC ExtensionsImageGallerySettings.ThumbnailImageSizeMode

Remarks

Values listed by this enumerator are used to set the ImageSliderImageAreaSettings.ImageSizeMode property’s value.

See Also

DevExpress.Web Namespace