Skip to main content
Tab

ImageSizeMode Enum

Lists the values that specify how an image fits into the image area.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public enum ImageSizeMode

Members

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.

ImageSlider_SizeMode_ASOF

FitProportional

An image is enlarged or reduced to fit the image area.

ImageSlider_SizeMode_FP

FillAndCrop

An image is enlarged or reduced to fill the image area. Prominent parts are cropped.

ImageSlider_SizeMode_FillAndCrop

Remarks

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

See Also