ImageGallerySettings.ThumbnailImageSizeMode Property
In This Article
Gets or sets the value specifying how an image fits into the thumbnail size.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public ImageSizeMode ThumbnailImageSizeMode { get; set; }
#Property Value
Type | Description |
---|---|
Image |
One of the Image |
Available values:
Name | Description |
---|---|
Actual |
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. |
Fit |
An image is enlarged or reduced to fit the image area. |
Fill |
An image is enlarged or reduced to fill the image area. Prominent parts are cropped. |
#Remarks
Image | Value | Description |
---|---|---|
![]() |
Actual |
If an image is bigger than the thumbnail size, the image is reduced to fit the size. If an image is smaller than the thumbnail size, its size is not changed. |
![]() |
Fill |
An image is enlarged or reduced to fill the thumbnail size. Prominent parts are cropped. |
![]() |
Fit |
An image is enlarged or reduced to fit the thumbnail size. |
See Also