Tab
A newer version of this page is available. Switch to the current version.

ImageSizeMode Enum

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public enum ImageSizeMode
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